From e3f8b0e05405093f6c79e4b1b1dbcb3b2ea5d868 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 21 Aug 2018 16:15:02 -0400 Subject: [PATCH] sbsigntool: Enable nativesdk support There are times were we might want to include sbsigntool into an SDK so rename the recipe and extend to include nativesdk. We also need gnu-efi to support nativesdk so include that in a bbappend. Signed-off-by: Tom Rini --- meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend | 1 + .../{sbsigntool-native_git.bb => sbsigntool_git.bb} | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend rename meta-signing-key/recipes-devtools/sbsigntool/{sbsigntool-native_git.bb => sbsigntool_git.bb} (93%) diff --git a/meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend b/meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend new file mode 100644 index 0000000..2a59083 --- /dev/null +++ b/meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend @@ -0,0 +1 @@ +BBCLASSEXTEND += "nativesdk" diff --git a/meta-signing-key/recipes-devtools/sbsigntool/sbsigntool-native_git.bb b/meta-signing-key/recipes-devtools/sbsigntool/sbsigntool_git.bb similarity index 93% rename from meta-signing-key/recipes-devtools/sbsigntool/sbsigntool-native_git.bb rename to meta-signing-key/recipes-devtools/sbsigntool/sbsigntool_git.bb index f52b5fc..a43afa1 100644 --- a/meta-signing-key/recipes-devtools/sbsigntool/sbsigntool-native_git.bb +++ b/meta-signing-key/recipes-devtools/sbsigntool/sbsigntool_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "\ file://COPYING;md5=a7710ac18adec371b84a9594ed04fd20 \ " -DEPENDS += "binutils-native openssl-native gnu-efi-native util-linux-native" +DEPENDS += "binutils openssl gnu-efi util-linux" PV = "0.6+git${SRCPV}" @@ -26,7 +26,7 @@ SRCREV="951ee95a301674c046f55330cd7460e1314deff2" S = "${WORKDIR}/git" -inherit autotools-brokensep pkgconfig native +inherit autotools-brokensep pkgconfig def efi_arch(d): import re @@ -69,3 +69,5 @@ do_configure() { ./autogen.sh --noconfigure oe_runconf } + +BBCLASSEXTEND = "native nativesdk"