From patchwork Sun Dec 29 18:44:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 182589 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp5506369ild; Sun, 29 Dec 2019 10:45:09 -0800 (PST) X-Google-Smtp-Source: APXvYqyQgWwHAjzBeM9SVA/6VKSujimOnjDMjfgN7/g02seXmx0e0LZaW4RTcC972XzIZLGEeJE7 X-Received: by 2002:a63:150d:: with SMTP id v13mr66328147pgl.342.1577645109137; Sun, 29 Dec 2019 10:45:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577645109; cv=none; d=google.com; s=arc-20160816; b=q3Smcd4jlxc/PRpb7goO9W43GpfsmklVHkFKKmiuqRHbVrMRVq9PJWs2fIkquACrIs rnkXgBCSSBn+pUArNXGoOj9cDBNLGOpc1LjAbkbWLzKjHo5BbIMqC3zAcAv1BLREu1wE 49vpjj3Rf9KQ2gz4YK0q64VKIkBbrGTscjLYNnBoCpivuWy4jwPYPxTZTkZvCvlNwOtM Z+u8PKBIrwTM6EpRlSeo/1dXaYtPiUCwzxN18dLgCicRk8EIJXi96wL43ED0nulHOdFE lB4lUG8mS2KBg3Ol5ekHvhyHo1db9w+hbU4TjO9/0/wzpXOjddL31xNTy77aNxWwrf4k cgWQ== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=AtRCXViuAPBAmNYKn/7hEtQRbmN6D8y51/vKc/AUGOI=; b=gHili73V9vFcWVjTnPVdZYKzjDeFTM9CXST8yTOixYfLrpB4fmkv17gBIDZH8Ok8Tw IsiGdgCAyRQUXEg0zk3FJKlLbftgCvNwx13wxvyxL9EvH7/Yf0eDv4bcFJKpScz4Lio/ lU4u7Hd7AKU5E+WfTrvo0yxVWQ2Z5pqW6z3kcYBISIc4wy6Tz4LoqhOM+kft05ZF9LL7 LFE7Kdh5FnrXzBaBMLz9n8IUH+HJJinDoEiYpVN17hU6qGjULEQRq8PXpexrrQ9RIJEk X5HSy0Los1x2md4M/hOle2JMJZPTqFrjgjxwZD8z2e6Pe+KumSWPinfqbGOTx0yPAs61 a+Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=grP9g3Ic; 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 ev22si20516986pjb.23.2019.12.29.10.45.08; Sun, 29 Dec 2019 10:45:09 -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=grP9g3Ic; 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 2D39E7F8BB; Sun, 29 Dec 2019 18:44:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) by mail.openembedded.org (Postfix) with ESMTP id 94C757F888 for ; Sun, 29 Dec 2019 18:44:31 +0000 (UTC) Received: by mail-pl1-f178.google.com with SMTP id az3so13795160plb.11 for ; Sun, 29 Dec 2019 10:44:33 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=aZJc32Zz1cRIVlfB/T8UFNjdqaOrYiIO9kflt7piKM4=; b=grP9g3IcmxZ83LixMoqoWf400G60aw/IQ/anLKQXxXOiCw71mg2kaQIp1hLAUEWvVP hQKssX196sJZEBcQxrVsliI+wITtkAK5GFiSmJqGEYd21Jhl1BIJWlyKIpTc0PYqw6/a D8HNOODs5jsPndI9gUOz92ft+OvOEf+gZcMOdHBBYxER9Vl4ofMNXtzb3a5pEk9BzyvO +lafdOzgPp05GfccZmWgH8JSu0nLZ3wtIC8EhkY8YDOsoVNlwkPyJALrLUXF+cKnHAaQ iYYI4uiniUKXjBmoYH7hPPbdd4ktRYoDOgCPwbDc1CdpCTpXA3piT017FAbv5S5CtFvs xTDA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=aZJc32Zz1cRIVlfB/T8UFNjdqaOrYiIO9kflt7piKM4=; b=tph0Ar2bWRmStIuNFQSMZTCLkJIBaa4VFptbdrvyoSRY/Ruq6cNgFBL1zCbiu5mc0S 0kW0jp1n3uNzM9HM6d1KCop+T5FXWOwim5jiyLC87gQyU4joquuDa73z1BPZzm3fRJin QzhmuMjcqe7LpriJqa4RWIBBh3a1beaiJILux3dwF9r5ECKcvdTri28ulk1H/SnmLJ+X OLpC4O2HiXkejQmC96srNfgLp2Y7FsNs6Nl8LS2ot1eyT2UpRwjdJSu29/bWSQCuh1SK w77PvVduC8nZiEOB83riljRAmi5sKfdkmWIP7fZUdhpufHB9NtXlr+6cF3dOA+adVxOG l4rQ== X-Gm-Message-State: APjAAAVnyiL/Oi1qAAG0J1E+jEMNsVTkUALMTPZGvnQWawNa0MeOkBm/ 32a6xfn+T8JRwuvMYK5X0oUgQNoLnwI= X-Received: by 2002:a17:90a:191a:: with SMTP id 26mr40664818pjg.111.1577645072462; Sun, 29 Dec 2019 10:44:32 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:9200:4e0::2f83]) by smtp.gmail.com with ESMTPSA id bo19sm21257085pjb.25.2019.12.29.10.44.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Dec 2019 10:44:32 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 29 Dec 2019 10:44:01 -0800 Message-Id: <20191229184415.19514-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229184415.19514-1-raj.khem@gmail.com> References: <20191229184415.19514-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 05/19] 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 11ffb0d33f..a046daa6ea 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 \