From patchwork Wed Aug 21 10:58:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 171947 Delivered-To: patch@linaro.org Received: by 2002:a92:d204:0:0:0:0:0 with SMTP id y4csp800493ily; Wed, 21 Aug 2019 03:59:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqxy195WiNoehVtksFxhx8kOx5ODeoGT1YFroFN8OmAP5TXXtGJ0MRkvQwX8+fvJ5/3OHqFn X-Received: by 2002:aa7:8746:: with SMTP id g6mr33531892pfo.191.1566385144779; Wed, 21 Aug 2019 03:59:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566385144; cv=none; d=google.com; s=arc-20160816; b=YvdT2TJWkcpBY4oRHYVjZkgWS510eKqRKWr5uDB4Fh3ta3vJdUE18ihO7BzKz1kGTc k5ihRua3stj0TWPhGq7rwaxQBUwz628yEcNgFj6Ky6EB+5YcDrVel+l6OktCzIlqa8ob bBf1jhWKNMoef2GzdVqtZukmXiNG7+qoXqxpkU6Z1/zG508hM6P7BGernfF45LFIwdN8 RC+YBMUjlZ3rkQrseJo+o5Xb+fRzIfZruHzkC8YGc/yRRZ9tZea0m39XWB0/JqLB8kJS amG9gqpfoY2hhbvDjMrf5cjhUxeoBxzg6SiBa6Vqn0LDG4go41TTMCmczyw1SMskUNyJ mD4A== 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=w66BvZLwwoJMlSACZA+jqrKui13yrkvWEICZNW4/A/k=; b=jvPQ2hq9SNm/XUq18PdfknTTp0O5aQniKBjqxPC6Ifahwx7LcwItuA/Yvu+5NadUwB G4X0fAp+A8Cchs9disOZ9lf8yTl7cW6U9oBXwDbJFrZqumzOT10eQYXSrBNf2q/FYvkn 9tndrBWOlADWam46T2MokkSRtvvUT/58j2wAfEy+1A0QH910nwu+QiAd1vvNbGpryTne h2hhAU99YXvhSbrOpBpwgODjkUtqknv+L5nX0nNk6sRsVnyL9I063aRjG0dWE1VpWuha gLQ2oWxQ4M2IWKlcvLltJKW3L8VCMQA2SBADuF6eqvJreKR0Erz9etZv+7asy31vdx1f S4OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=zjLE1jap; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id z35si14377580pga.42.2019.08.21.03.59.04; Wed, 21 Aug 2019 03:59:04 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=zjLE1jap; 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=NONE dis=NONE) header.from=intel.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 ACE4A7E797; Wed, 21 Aug 2019 10:59:02 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mail.openembedded.org (Postfix) with ESMTP id E93C57C2F4 for ; Wed, 21 Aug 2019 10:59:00 +0000 (UTC) Received: by mail-wr1-f47.google.com with SMTP id k2so1612159wrq.2 for ; Wed, 21 Aug 2019 03:59:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZQJl5bT9SlcHQ+2+oUneMy4RaPsZVzsJ0B+UlxfFlOw=; b=zjLE1japRtDj2s7KIyOfT8XrJ4zncYMMb70ysTgjTBhQnE8Jhgg545Mzu/E7CuMSLd uAYSD8s8o0aXuGPURuzzKQQq8f/hfFBPBSPJPEiE3Bj614TxHUBxdPAn82mJYnfshPWC K9NXZ9oUSHxoSqMqU9Dd2s+dmYeycAkpBe8fs8COR/Bz+0BXaVifxIYLHyqRUvDf1cX4 9LOYYGYzLrN3zaWIhkY8VK/wQJ7GXFe4rYDwcWwFvh4eeYAiSl5FLLb/PqK1FMGTofAg BgVLqhbEdys57vWUzXf2SKIjnrDSWIqLtt/GOcCkmK+oDVtrb/mF3HA9zmkN8eD2ZD5G rgJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=ZQJl5bT9SlcHQ+2+oUneMy4RaPsZVzsJ0B+UlxfFlOw=; b=h2Y1XGSAvPfOuC1gEYsFobUxTQLOEBIqe3TFP7TguVIYkQOYLK4P21p597Swjm5ezn l2DItwVZY5WjCipmEOLdQd+Jp4nd9MdzpOiRL9VrMeaAthIUeYu/Akhm6xHh+7AXHqJd AI89glnBQ6TLuUHHIdkQ13NCjaXSh+bsUyhUXjvZxb5AHifdussz1d6rL9w5p8f5ghL1 ub5S92G69e6ZkcWvj3oJXFVQmvXW/Vd8q474e1wNiz0eLdLqLJaY8xxlLQV6sH17kL7a aNi/6biXVT1RcUqvreyGqHaoRGxiPq6OEuwUSbH+v9w2tdR396iyqFMVW62QCLA21V42 XV6w== X-Gm-Message-State: APjAAAXcA18mHX6h0chNl1fIQaTOexTbAmNMS6WpokvR0owSWErZwYPJ FBlo4f04XDTRpkwkpTtNAgZXDi/qZ3c= X-Received: by 2002:adf:e8c3:: with SMTP id k3mr28461600wrn.8.1566385141305; Wed, 21 Aug 2019 03:59:01 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id m23sm3680438wml.41.2019.08.21.03.58.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Aug 2019 03:59:00 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Wed, 21 Aug 2019 11:58:58 +0100 Message-Id: <20190821105858.5487-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH] systemd: add PACKAGECONFIG for gnu-efi 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 Add a PACKAGECONFIG for gnu-efi, by default the meson.build looks explicitly in /usr/include and /usr/lib for gnu-efi, and if it is present on the host the build will fail. [ YOCTO #13487 ] Original patch by Chin Huat Ang. Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_242.bb | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/systemd/systemd_242.bb b/meta/recipes-core/systemd/systemd_242.bb index 6992062cef0..b368ca8a2c4 100644 --- a/meta/recipes-core/systemd/systemd_242.bb +++ b/meta/recipes-core/systemd/systemd_242.bb @@ -126,6 +126,7 @@ PACKAGECONFIG[coredump] = "-Dcoredump=true,-Dcoredump=false" PACKAGECONFIG[cryptsetup] = "-Dlibcryptsetup=true,-Dlibcryptsetup=false,cryptsetup" PACKAGECONFIG[dbus] = "-Ddbus=true,-Ddbus=false,dbus" PACKAGECONFIG[efi] = "-Defi=true,-Defi=false" +PACKAGECONFIG[gnu-efi] = "-Dgnu-efi=true -Defi-libdir=${STAGING_LIBDIR} -Defi-includedir=${STAGING_INCDIR}/efi,-Dgnu-efi=false,gnu-efi" PACKAGECONFIG[elfutils] = "-Delfutils=true,-Delfutils=false,elfutils" PACKAGECONFIG[firstboot] = "-Dfirstboot=true,-Dfirstboot=false" # Sign the journal for anti-tampering