From patchwork Fri Mar 4 07:14:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 63553 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp309790lbc; Thu, 3 Mar 2016 23:15:24 -0800 (PST) X-Received: by 10.98.11.88 with SMTP id t85mr9755847pfi.98.1457075724401; Thu, 03 Mar 2016 23:15:24 -0800 (PST) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id n76si3901061pfb.81.2016.03.03.23.15.24; Thu, 03 Mar 2016 23:15:24 -0800 (PST) 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; 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; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id BC94A76B69; Fri, 4 Mar 2016 07:15:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by mail.openembedded.org (Postfix) with ESMTP id 9288462133 for ; Fri, 4 Mar 2016 07:15:03 +0000 (UTC) Received: by mail-wm0-f42.google.com with SMTP id l68so7915159wml.0 for ; Thu, 03 Mar 2016 23:15:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ows665yvueSeuLAeHD6v+mIGXMBJ29GcU7MxPjGJkIo=; b=AK4OESsXt+SpMTg7PvJZ112Bp5LmraL73MJoW58cgx6l2AKi+GhEP2wmRVT/Lym9QZ bqWB991ZlrUMhjf8T6y6+spW7iuI1vEcTQQeChAJrTpqYv9S6i8QGSIvc7sdY+Y9qYwT QozFcTvx0h0EEleHno1LRdpWh8HtcvxLjOcQQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ows665yvueSeuLAeHD6v+mIGXMBJ29GcU7MxPjGJkIo=; b=msgmmRFfxc2kSSvgi9YU1w4YuLKZxNBQUFhirRcXoIwZlKXIEh7bkj51OaCCaiKNzR tNR1V5ceoTXpcAVX/5GO+XAe0Zs1mXynplDbiHQBmCEPG1v1+7/SQH6cx+Dnva0pf1kF og/kobM9o5u5zWwq3odZ34jLPDjCjytsorkBE5CEuTzma3/e99roDBzMthJ4H98iTyPz z+N6gHvqu+qum5Ao/rlpEPPZdHBKheg7MX/Z1Er8w6CnsZ1YuIrJLMzaHfkB96NnepP2 wW+7tIV06/89Y1gDHolWpfxraJRvq/Jl/DdQWEsvNK3cKcJwzrxDtAxmR6lzzRz3bEyG Ph2A== X-Gm-Message-State: AD7BkJKqpS2EFX3pGUq7W/0Jeao9HkcMqzlw42onUFSIWZSKIJ/JKnXl+BZsuIjA7S8dWA+y X-Received: by 10.194.236.3 with SMTP id uq3mr7147805wjc.119.1457075703876; Thu, 03 Mar 2016 23:15:03 -0800 (PST) Received: from thinkpad.localdomain (ip4da2a5ae.direct-adsl.nl. [77.162.165.174]) by smtp.gmail.com with ESMTPSA id i2sm1904939wje.22.2016.03.03.23.15.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Mar 2016 23:15:02 -0800 (PST) From: Koen Kooi To: openembedded-devel@lists.openembedded.org Date: Fri, 4 Mar 2016 08:14:55 +0100 Message-Id: <1457075695-17045-2-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 2.4.3 In-Reply-To: <1457075695-17045-1-git-send-email-koen.kooi@linaro.org> References: <1457075695-17045-1-git-send-email-koen.kooi@linaro.org> Cc: Koen Kooi Subject: [oe] [meta-oe][PATCH v2 2/2] efibootmgr: update and unblacklist 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: , Reply-To: openembedded-devel@lists.openembedded.org MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Also fix style issues. Signed-off-by: Koen Kooi --- meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb | 14 +++++++------- meta-oe/recipes-extended/efibootmgr/files/ldflags.patch | 17 ----------------- 2 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 meta-oe/recipes-extended/efibootmgr/files/ldflags.patch -- 2.4.3 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb index 9b611ce..d80c89f 100644 --- a/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb +++ b/meta-oe/recipes-extended/efibootmgr/efibootmgr_0.12.bb @@ -10,20 +10,20 @@ DEPENDS = "pciutils zlib efivar" COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" -SRC_URI = "https://github.com/rhinstaller/efibootmgr/releases/download/${BP}/${BP}.tar.bz2 \ - file://ldflags.patch \ +SRCREV = "eb6e36c9064eae256cd60df24a977e3abd87fd16" +SRC_URI = "git://github.com/rhinstaller/efibootmgr.git;protocol=https \ " -SRC_URI[md5sum] = "6647f5cd807bc8484135ba74fcbcc39a" -SRC_URI[sha256sum] = "a66f5850677e86255d93cb1cead04c3c48a823a2b864c579321f2a07f00256e6" +S = "${WORKDIR}/git" + + +inherit pkgconfig EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/src/include `pkg-config --cflags efivar` \ -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR)\" '" do_install () { - install -D -p -m0755 src/efibootmgr/efibootmgr ${D}/${sbindir}/efibootmgr + install -D -p -m0755 src/efibootmgr ${D}/${sbindir}/efibootmgr } -inherit pkgconfig -PNBLACKLIST[efibootmgr] ?= "Depends on blacklisted efivar" diff --git a/meta-oe/recipes-extended/efibootmgr/files/ldflags.patch b/meta-oe/recipes-extended/efibootmgr/files/ldflags.patch deleted file mode 100644 index 0d5594a..0000000 --- a/meta-oe/recipes-extended/efibootmgr/files/ldflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -Upstream-Status: Pending - -Import this patch from meta-linaro. - -Signed-off-by: Kai Kang - ---- efibootmgr-0.5.4.orig/Makefile -+++ efibootmgr-0.5.4/Makefile -@@ -11,6 +11,8 @@ - CFLAGS = $(EXTRA_CFLAGS) -DEFIBOOTMGR_VERSION=\"$(RELEASE_MAJOR).$(RELEASE_MINOR).$(RELEASE_SUBLEVEL)$(RELEASE_EXTRALEVEL)\" \ - -Wall -g -D_FILE_OFFSET_BITS=64 - -+ LDFLAGS += -lz -+ - MODULES := src - - BINDIR := /usr/sbin