diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-08-05 23:45:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-08-07 16:08:15 +0100 |
commit | 1b6ac489143cfed4fd4f10c7afa3d4bb867eeeb7 (patch) | |
tree | a278d67f4fa97417c3fd5f6c8f4500c777d9264c /meta/recipes-core/systemd/systemd-boot_242.bb | |
parent | be88cb8424b798cbb03fa03a46db65aeb862f3dd (diff) | |
download | poky-1b6ac489143cfed4fd4f10c7afa3d4bb867eeeb7.tar.gz |
systemd-boot: Add option to specify cross objcopy and use it
This is needed when build host != x86 box
(From OE-Core rev: 5096f535561d2fd608d622abec5bc2ddb79d49b7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd-boot_242.bb')
-rw-r--r-- | meta/recipes-core/systemd/systemd-boot_242.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_242.bb b/meta/recipes-core/systemd/systemd-boot_242.bb index 56e68a3d49..56a25c35ba 100644 --- a/meta/recipes-core/systemd/systemd-boot_242.bb +++ b/meta/recipes-core/systemd/systemd-boot_242.bb | |||
@@ -8,6 +8,7 @@ DEPENDS = "intltool-native libcap util-linux gnu-efi gperf-native" | |||
8 | SRC_URI += "file://0001-Revert-meson-use-an-array-option-for-efi-cc.patch \ | 8 | SRC_URI += "file://0001-Revert-meson-use-an-array-option-for-efi-cc.patch \ |
9 | file://0001-Revert-meson-print-EFI-CC-configuration-nicely.patch \ | 9 | file://0001-Revert-meson-print-EFI-CC-configuration-nicely.patch \ |
10 | file://0001-Fix-to-run-efi_cc-and-efi_ld-correctly-when-cross-co.patch \ | 10 | file://0001-Fix-to-run-efi_cc-and-efi_ld-correctly-when-cross-co.patch \ |
11 | file://0001-meson-Add-Defi-objcopy-option-to-specify-objcopy.patch \ | ||
11 | " | 12 | " |
12 | 13 | ||
13 | inherit meson pkgconfig gettext | 14 | inherit meson pkgconfig gettext |
@@ -22,6 +23,7 @@ EXTRA_OEMESON += "-Defi=true \ | |||
22 | -Dman=false \ | 23 | -Dman=false \ |
23 | -Defi-cc='${EFI_CC}' \ | 24 | -Defi-cc='${EFI_CC}' \ |
24 | -Defi-ld='${LD}' \ | 25 | -Defi-ld='${LD}' \ |
26 | -Defi-objcopy='${OBJCOPY}' \ | ||
25 | " | 27 | " |
26 | 28 | ||
27 | # install to the image as boot*.efi if its the EFI_PROVIDER, | 29 | # install to the image as boot*.efi if its the EFI_PROVIDER, |