diff options
author | Tom Rini <trini@konsulko.com> | 2018-08-21 16:15:02 -0400 |
---|---|---|
committer | Jia Zhang <zhang.jia@linux.alibaba.com> | 2018-08-25 08:14:56 +0800 |
commit | e3f8b0e05405093f6c79e4b1b1dbcb3b2ea5d868 (patch) | |
tree | 9dec5de57205494959d06d2967828bdd24fce642 | |
parent | c2e3fe9168218cbb353494a8c9a7568d580a7c56 (diff) | |
download | meta-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_%.bbappend | 1 | ||||
-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 | ||
10 | DEPENDS += "binutils-native openssl-native gnu-efi-native util-linux-native" | 10 | DEPENDS += "binutils openssl gnu-efi util-linux" |
11 | 11 | ||
12 | PV = "0.6+git${SRCPV}" | 12 | PV = "0.6+git${SRCPV}" |
13 | 13 | ||
@@ -26,7 +26,7 @@ SRCREV="951ee95a301674c046f55330cd7460e1314deff2" | |||
26 | 26 | ||
27 | S = "${WORKDIR}/git" | 27 | S = "${WORKDIR}/git" |
28 | 28 | ||
29 | inherit autotools-brokensep pkgconfig native | 29 | inherit autotools-brokensep pkgconfig |
30 | 30 | ||
31 | def efi_arch(d): | 31 | def 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 | |||
73 | BBCLASSEXTEND = "native nativesdk" | ||