summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-08-21 16:15:02 -0400
committerJia Zhang <zhang.jia@linux.alibaba.com>2018-08-25 08:14:56 +0800
commite3f8b0e05405093f6c79e4b1b1dbcb3b2ea5d868 (patch)
tree9dec5de57205494959d06d2967828bdd24fce642
parentc2e3fe9168218cbb353494a8c9a7568d580a7c56 (diff)
downloadmeta-secure-core-e3f8b0e05405093f6c79e4b1b1dbcb3b2ea5d868.tar.gz
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 <trini@konsulko.com>
-rw-r--r--meta-efi-secure-boot/recipes-bsp/gnu-efi/gnu-efi_%.bbappend1
-rw-r--r--meta-signing-key/recipes-devtools/sbsigntool/sbsigntool_git.bb (renamed from meta-signing-key/recipes-devtools/sbsigntool/sbsigntool-native_git.bb)6
2 files changed, 5 insertions, 2 deletions
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
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 = "\
7 file://COPYING;md5=a7710ac18adec371b84a9594ed04fd20 \ 7 file://COPYING;md5=a7710ac18adec371b84a9594ed04fd20 \
8" 8"
9 9
10DEPENDS += "binutils-native openssl-native gnu-efi-native util-linux-native" 10DEPENDS += "binutils openssl gnu-efi util-linux"
11 11
12PV = "0.6+git${SRCPV}" 12PV = "0.6+git${SRCPV}"
13 13
@@ -26,7 +26,7 @@ SRCREV="951ee95a301674c046f55330cd7460e1314deff2"
26 26
27S = "${WORKDIR}/git" 27S = "${WORKDIR}/git"
28 28
29inherit autotools-brokensep pkgconfig native 29inherit autotools-brokensep pkgconfig
30 30
31def efi_arch(d): 31def efi_arch(d):
32 import re 32 import re
@@ -69,3 +69,5 @@ do_configure() {
69 ./autogen.sh --noconfigure 69 ./autogen.sh --noconfigure
70 oe_runconf 70 oe_runconf
71} 71}
72
73BBCLASSEXTEND = "native nativesdk"