From patchwork Mon Jun 24 08:27:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 167557 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp3912831ilk; Mon, 24 Jun 2019 01:28:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxIqAkEb+PDFuKkys6GrgLkfbnyK/BSm6+aJoHBQznvhF+tui6VEaVUIgV8N5sa854DJvSR X-Received: by 2002:a63:63c1:: with SMTP id x184mr7740375pgb.213.1561364880708; Mon, 24 Jun 2019 01:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561364880; cv=none; d=google.com; s=arc-20160816; b=aXB4NcKgBAm8Z4sgiW7TzZFwwGffeg/KDvIyDuqpxFX9zoinIHG2Wl5r9jX4F5y8Pp ONTu62n7QP1Kq3kzz0B320hRh1Wj4Ka+0P7b1vq+RiafcRT/Z9I/rkTVzrTBfoQUJ10a tDXFOj7SdizBuJeKkzJk+mKoiHAZPHJfYmb4h4PWDQAp27gYS091Yw/ESbuKaRpnzRfV +np9JvmCBO0QxdW1vCq/QplBk8+o0FJjyR+8GYmT+Es2cz+ecR3Nvz2e1+VwR4qD3gp7 JxholDKWWFhHTQvw1Uvxy40pMLtH5tlxRn+PPeNdZ6jk+5L/PSD9GPSA4qEFKe3p9Km7 4a4A== 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=7u/fg2hmjP8xWuj8vP1iSkbYJ4sAcW5XgAfwNGm3GeM=; b=LMDtZ7jw5QNTOriuzV3KcHNaNQUcEPFXDyZTECIZNvSel2U0GCGwNr9tcm9X1tnGhf bRaDTatuoflDOMxT33lQ85vV4ME8V1/m3SVt41eu47NcQeumImE2szmS6/L4apSTjQ+N SLJalPO2XG2Dx0ElO/3iLq0tZ0RO0WuMqLCi925ogNSHT0GVKO7VSRbNHFBwlDBwxvFe E0PfHQjoJh2mFwR1afsNGHb/xI08Vr+eHc4YmohD9wSrLb7QrI73BO3b4KG6MRlR1YOh cpRFVuASlo+GD3iKeo8/ak2imPrpdl8uIxUh/+bO35jOr0JW8YyAZ1QYovdcyCINw0qJ WskQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b="S/W/tkez"; 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 g8si9698821pgd.64.2019.06.24.01.28.00; Mon, 24 Jun 2019 01:28:00 -0700 (PDT) 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="S/W/tkez"; 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 F18C57E5E4; Mon, 24 Jun 2019 08:27:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by mail.openembedded.org (Postfix) with ESMTP id A71DE6C230 for ; Mon, 24 Jun 2019 08:27:56 +0000 (UTC) Received: by mail-pg1-f194.google.com with SMTP id 196so6709892pgc.6 for ; Mon, 24 Jun 2019 01:27:58 -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=aTtEZDsyi0wKYuE1SUSb3d7LpZ8AV+Lh30ufchOT2mw=; b=S/W/tkez9q9EObY1espq58VR2qmDm7XRhrIO3GoHh3K2q8TDjH7Sjt3RG/EYEwPAwQ G1cRgh6cBGxnFt38A4c2VLCTu6aX6DpJWuH9JbYZWbBFXCnd8JGFeoZSL/o23jNz4mWF vcgwuIDurgKyE7Gj4dyCdD6TMRYLUG2EhF2ghKBDH7pQF00CV4GGKY9AYhqN+yJxsAMr f9KFwnPet9edXYZj7jupM1VgUOxfcf0VFzb7qyeUf0fHziodOtTJmPOut4Qmb/x+UBlP L+7fmcmmWXqOVfKavjM46z7CJWy9V1waDNPstiVr9234/dw2dyTfExl/uksey9bdpEMN rgmw== 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=aTtEZDsyi0wKYuE1SUSb3d7LpZ8AV+Lh30ufchOT2mw=; b=L0s4CptIjT4wqw3Xay3oHS+KCWf4VwbAbXV280UHD9u3TOAMiO+4rQc6iENpi+1wu9 Lhwj9KDwzgzR8PA7qWt0U4Idx8iNvEpNOAxWf5lL9Rqp3k31LyNJA3EyPtZW+liG1d5v 2x7PgxGYLauBXplJoEv4UXn9wpj+FE7XXcPM+ORaXXoP7iFw3fhp64OEG0K76QCXrMKq X+ZkR28AuBzvgfNU9PnLdnj21xO0x5xtkM5ZcbJpb7UpZTVIIeCIfytgCvu2JkTyWxmt Hlsz1EuFbrZ9eLp+ihfRZJBAxWsAPjJQO5Rlf3/xYUvwUe4QyYwhvZuicjGlKevfgZAS ZdJA== X-Gm-Message-State: APjAAAUwiZ84OICptepgHyFNiXeM+XbLWLOFirmLWHhjbZDgI8Vg0fbT prbMac3L0VyaHIyXRZvSFD0pbwtETsA= X-Received: by 2002:a17:90b:f0e:: with SMTP id br14mr23179195pjb.117.1561364877208; Mon, 24 Jun 2019 01:27:57 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::8fdc]) by smtp.gmail.com with ESMTPSA id h18sm1925966pfr.75.2019.06.24.01.27.56 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jun 2019 01:27:56 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 24 Jun 2019 01:27:50 -0700 Message-Id: <20190624082750.39458-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [OE-core] [PATCH] efibootmgr: Pass correct flags to compiler from pkg-config 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 efivar.h is in usr/include/efirvar directory so it should be added to include search path via -I to compiler cmdline to fix make[1]: *** No rule to make target 'efivar.h', needed by 'efibootmgr.o'. Stop. | make[1]: *** Waiting for unfinished jobs.... Signed-off-by: Khem Raj --- meta/recipes-bsp/efibootmgr/efibootmgr_17.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.22.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb index 0e5a81e316..2f8fa34ee7 100644 --- a/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb +++ b/meta/recipes-bsp/efibootmgr/efibootmgr_17.bb @@ -22,8 +22,7 @@ inherit pkgconfig # The directory under the ESP that the default bootloader is found in. When # wic uses a subdirectory, this should use the same one too. EFIDIR ?= "/" - -EXTRA_OEMAKE += "'EFIDIR=${EFIDIR}'" +EXTRA_OEMAKE += "'EFIDIR=${EFIDIR}' 'CFLAGS=${CFLAGS} `pkg-config --cflags efivar`'" CFLAGS += " -Wno-error"