From patchwork Tue Sep 3 23:01:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 172890 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp483737ily; Tue, 3 Sep 2019 16:01:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzopIFxeh1zZpQ1LPieJtFE7JGEuukA7+/TsUuhiHa5+moiX8G0F2GGUabs2Zqk4ZOHIOfP X-Received: by 2002:a17:902:8484:: with SMTP id c4mr37508708plo.223.1567551697629; Tue, 03 Sep 2019 16:01:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567551697; cv=none; d=google.com; s=arc-20160816; b=zwuKkmslKQpSyupph4m8MiBSpl9USjTEIqTs93JHvyH7P3l7npdReUZqjyQ4e0ilOp rTk5fIlq+wvsJka+1J0lh1BNVoj6AeZeDYAq095DHA5f+EbUFYRp2szg8Zs3PcWhdof9 L70rC9vdWVStsVB+SQ+lZ/V8vyAWTgpgNe9HbDdYIRUhHkcJa+9+Qx4MjQbdyuSFJydu /XJ3AzpIKVKhcjSsi0y9sOFlFq/z0LgUZ5Go0y/+wnD31VkFvG1gOSSWb/f69V0p79Mg NZFSl+lnEPHmLC3DMKQAWKQ12wWxOY1SrnpM8QpCYhR7afr/WD6TC1ZY+cOCc6xT+uSJ xkTw== 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=HeL6UlDdusuhQQZ6A1zCbDxdhmZjSAGI84hJXGdaRTA=; b=Eb8WQICeg3C+XwbZUeGk6ATk/Okee4jwSDT1LbhRg4gVVhn39ZQEAfYmBWselnh0/G iEBXTGpxkuJgeqUKmSKQfNd3MDRt3+aj9iB7mc7O5OoDKS4QgUbIwNgqHvUKbZTBSHet ytDuVoSOd0h7grXQC1F6w7vNKosNpaT9epAgRxJyweX8OMhv+z+DohhYOiGw/uC+3lYB T6oY392hX6XEZUD7FyQkONKrNw6gADgZDCKCOCrBr3Zq1+jv5i07NM+1ked280pjGbV3 cvxob4uiibpjBHEp3VN1K3ex8psMPQtownPLSycCUwatsoNkXFml+yKXdXu4zucjPfvI JkUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=sH5lDqo7; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 l40si15799525plb.205.2019.09.03.16.01.37; Tue, 03 Sep 2019 16:01:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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=sH5lDqo7; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 B919E7ECAD; Tue, 3 Sep 2019 23:01:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mail.openembedded.org (Postfix) with ESMTP id DA4DF7F2E2 for ; Tue, 3 Sep 2019 23:01:30 +0000 (UTC) Received: by mail-pl1-f180.google.com with SMTP id m9so8618844pls.8 for ; Tue, 03 Sep 2019 16:01:32 -0700 (PDT) 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=FBQueQAi2ep2EZSH6Wzwj/Mp6TJamEhu3LBDCHIUCT8=; b=sH5lDqo7Lr9tKjHSuZ61f/kNf/1Qtz/MfxJFvD5h3W5ixK8dWFaQru5DUBxAPxNMhD byL+VUcsuMPzxSwYhpgGGvxh7e4i1eYfa/Qoz6SJtZyHVusk6gkkd/K9SR1785ODkcq/ tke0KKyEFIyXChsYH8rDhAbm9uGn7YcnR8DKcqsTJYAGr3CwDGbFUgk5Ul/I7ok+GzDW VvvoI/EKP+hayboFQcZz2BreGo2PM58vbKcZr6uZ7tI8Yp4hj9K+NKMhBVIUTII8tXIH lLfI41xxnw9WGLjT6rW4b0Rgaf/Nhn21RX612/S1Ny+TqyqNy6j6blBrn32u+ACz6dYa uVSQ== 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=FBQueQAi2ep2EZSH6Wzwj/Mp6TJamEhu3LBDCHIUCT8=; b=kuvFmmceArKxg2TzwDQwV8aSUP96WQasMLSUscUaIbigsFDsptSqN8fPY6VlRgNipW 8tTLHWZu77q+xr2Cg55eNWa2gSoI658G2Qjzz2290B491ELMYWbdScQSzMrfxMlzXGh2 AZ0smh5TFcRpXxBxW0x3EDfbsxJEp06NSyGPMFMrUc6U/k8hd3lGC+ZoyaJH/6jcJc5V kvXa4xTU6PUgJi125nJ1bp+SDQh8+CsfQ/+z7CFd3DkoYaQIEIC/R4aqHeqNF/Sl6/Mg wHIa4nxvpq9u1eI5aKWHmRIDA2OA2bv0yyBogCZbeo+fyF555fjktA/CIRRmtG0J3aTJ XNYw== X-Gm-Message-State: APjAAAWgdx9O2gWmh7O+VllQ1WRuDCRAcebE+2RiJGAGM4vbFSwgfG2Q tqCIGYSlux7n6Ji211hsNKhucLxOX2U= X-Received: by 2002:a17:902:b604:: with SMTP id b4mr5314953pls.94.1567551691439; Tue, 03 Sep 2019 16:01:31 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id z25sm19314164pfa.91.2019.09.03.16.01.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Sep 2019 16:01:30 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Tue, 3 Sep 2019 16:01:22 -0700 Message-Id: <20190903230123.37609-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [oe] [meta-networking][PATCH 1/2] iscsi-initiator-utils: Inherit pkgconfig and override PKG_CONFIG X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org PKG_CONFIG is hardcoded to /usr/bin/pkg-config which is not cross compile safe and ends up with build errors especially on hosts where pkgconf is used it ends up with errors like /usr/bin/pkg-config: line 11: exec: pkgconf: not found /usr/bin/pkg-config: line 11: exec: pkgconf: not found Override it to use own native pkg-config which can deal with sysroot correctly Signed-off-by: Khem Raj --- .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.877.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.877.bb b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.877.bb index 1ba6ef065c..3cef70f5e0 100644 --- a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.877.bb +++ b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.877.bb @@ -29,7 +29,7 @@ B = "${WORKDIR}/build" PV .= "+git${SRCPV}" -inherit update-rc.d systemd autotools +inherit update-rc.d systemd autotools pkgconfig EXTRA_OECONF = " \ --target=${TARGET_SYS} \ @@ -42,6 +42,7 @@ EXTRA_OEMAKE = ' \ BASE="${prefix}" \ MANDIR="${mandir}" \ OPTFLAGS="-DNO_SYSTEMD ${CFLAGS}" \ + PKG_CONFIG="${STAGING_BINDIR_NATIVE}/pkg-config" \ NO_SYSTEMD=1 \ '