From patchwork Thu Dec 19 21:32:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182189 Delivered-To: patch@linaro.org Received: by 2002:a92:d0a:0:0:0:0:0 with SMTP id 10csp1038203iln; Thu, 19 Dec 2019 13:33:05 -0800 (PST) X-Google-Smtp-Source: APXvYqwdb+sqTQek9PWP8HVtrmX8sRq94SKAcccrbRfXRQ1HhzxBoB8pv9kSppQq9aaHR+rUPiw6 X-Received: by 2002:a63:cf08:: with SMTP id j8mr11064436pgg.292.1576791185110; Thu, 19 Dec 2019 13:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576791185; cv=none; d=google.com; s=arc-20160816; b=g6TMbjaHybilLgRoO3Ngc8B5Tu+cRMOjkQnAeLr1BbRFLjorNdwAA5AdmiSoQeUPE3 959zhpQFqDKG2lTZh8D3OAb0ZkZZ4weW4U/b+y5PbnQZFzOTjbTaX5y8pKZZSturwVfI ywNeBh8xmm7QAkxk3MBkdAHIm7rKKW5IK0jBpb68MdElD9XLfBsch52hFucdPKumJGIO /WcDAKzEiQrn5MX0AuxhWmFhsJKqmpyfQG7TtFgUP9LmZDEAKNH4KL0NwsAHqmIJy4yy rwL+EHeVbSEtX6Fg5zBAZbkN4fSJczky9/chplDKu1WRcF/cQEPZ1m/sqigU60ZJ1jLq zm8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=Un0pAUbJlGVAMp/NLMATZphAm+eZeNNcQF+m1onnvKI=; b=f5q4P7TI6Qv2wkSp2WsQmuzY19IE3kP0Z/W4VO3O/QS9zCeBiKJeHVCqMUSIgXTBbt mW3A54mtGC7p09lxe8GpgU6WvBmRGgqCJGNBYKgbVBZhRMP5b43cU/oN0CCiSSEidsQH YmfiFvPfvtjH5mgfN5VWS6s6tDn6bU8OD1OO4B3m0OcChZ/Nm1UDIx70m+CVfUyrY+46 /ZbvofyibqJp6tEdMjjFaTd09pUjJXjq3kLPhm+JzERo3EkG9y5MaFXv5geeD4jKO2lz zJZPhbWlwIXvhpFM5fIyOfgAWgptD1STb1nn7Lem+mWlRrMvLaoaq5q7DKZhIc99n1bs Ilrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tdm1THyl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id v24si6922459pgh.63.2019.12.19.13.33.04; Thu, 19 Dec 2019 13:33:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=tdm1THyl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A241B7FE6C; Thu, 19 Dec 2019 21:32:59 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mail.openembedded.org (Postfix) with ESMTP id BDAFE7FE6A for ; Thu, 19 Dec 2019 21:32:57 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id z124so3797642pgb.13 for ; Thu, 19 Dec 2019 13:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WhjkTDurcfw1UXu2nMIpZEO6oq4IUVDhJ9w2K/M7doU=; b=tdm1THyliTNYNMsWxat3maHNuzlSuTp8R54VsFSdCC9fxmCD5k1oMONzsE03RdyPxn RGFMCvRlfLyf3+sVcvJgWXbk4cJ2BZVuH/QeR5uMJ88X2j/w5sGrTVcOQFR0EWg8ebdt 8W9lWV7y+OGRzXfTFNa0RmlOFWEFiPXi6RUJ4rMMcjNQxVEgZCu2LPKFBzOVafFG9O5p y5iSjY6cNI9yh5U2D2hs8FOxXZqcLmWAQnFALh52XtOdwFsX1iUYCcK5vaqinaMvzLpS flSxJ7amQxZoRnkgTS1BXbY6jPYRJgSDU5gGDnNKb7dgrTOOulGUPdafTNzp85sp3gbs GJfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WhjkTDurcfw1UXu2nMIpZEO6oq4IUVDhJ9w2K/M7doU=; b=INvUEqrE8TTj1P+L2kYwRIVtf4RS1+pHwg0HFGcCavOmgFAQhPJpo6k7xuly5os0q0 ZJ4i9ntPzb3SidP/JkvsWFGIZNj3agGUc3+WypQiHRDUoPSjZy9g9/enGQ7itN0wsRE0 BPkUWktPxvdz0Z0XqDwwTLfH4bWV9ndO3eDHXKN7C0mmJhuaq6AW6OL7odY/FDHnaRJp eY/b92TUslgyqC6zKzaRobPbCVTY85fZQOneVfa5Y1d3VYrR3PLGu6kqnyuILwze9zkf 9ghTSvGgFvU2SpM6TpERnFlXxgtVuY1bPCx9B3CfZpF4j5w/v+VosoMbGkfOgH+u3clq ouDA== X-Gm-Message-State: APjAAAUCDZL35GoxKjDZZeXD4ekyZO7+Tsyq+rrgwnXtgjEB9CTT+HtD oSsDAlCrWvSizDynQZqnfR1/MB6FrYM= X-Received: by 2002:a63:1e5c:: with SMTP id p28mr11470784pgm.235.1576791178242; Thu, 19 Dec 2019 13:32:58 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::4b]) by smtp.gmail.com with ESMTPSA id o6sm8587061pgg.37.2019.12.19.13.32.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Dec 2019 13:32:57 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 19 Dec 2019 13:32:49 -0800 Message-Id: <20191219213249.2292743-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] cmake.bbclass: Define LIB_SUFFIX X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This variable is used in lot of cmake based packages to denote libdir in multilib environments, now a days there is a better way to include GNUInstallDirs module but thats upto these packages to adopt. Defining this helps compiling a bunch of recipes in extended layers when using multilibbed builds. Signed-off-by: Khem Raj --- meta/classes/cmake.bbclass | 1 + 1 file changed, 1 insertion(+) -- 2.24.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 14796ac053..6c33777c8a 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -174,6 +174,7 @@ cmake_do_configure() { -DCMAKE_INSTALL_LIBDIR:PATH=${@os.path.relpath(d.getVar('libdir'), d.getVar('prefix') + '/')} \ -DCMAKE_INSTALL_INCLUDEDIR:PATH=${@os.path.relpath(d.getVar('includedir'), d.getVar('prefix') + '/')} \ -DCMAKE_INSTALL_DATAROOTDIR:PATH=${@os.path.relpath(d.getVar('datadir'), d.getVar('prefix') + '/')} \ + -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \ -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 \