diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-08-12 22:31:18 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-08-13 22:32:07 -0700 |
commit | 95bf58c16e40d182d55b29c2858364e6a31dd160 (patch) | |
tree | 8defc4a9d805ef01e2ca291e4e6d0e4bc7a05b1d /meta-initramfs | |
parent | 000c6a181e2fb989270925a5b918172fb01ef47a (diff) | |
download | meta-openembedded-95bf58c16e40d182d55b29c2858364e6a31dd160.tar.gz |
kexecboot: Use -fcommon to compile
gcc10 defaults to -fno-common and kexecboot does not compile with
-fno-common, so use -fcommon explicitly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r-- | meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb index ed3dece3f..2f46fa952 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | |||
@@ -13,6 +13,8 @@ inherit autotools | |||
13 | 13 | ||
14 | EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250" | 14 | EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250" |
15 | 15 | ||
16 | CFLAGS += "-fcommon" | ||
17 | |||
16 | do_install () { | 18 | do_install () { |
17 | install -D -m 0755 ${B}/src/kexecboot ${D}${bindir}/kexecboot | 19 | install -D -m 0755 ${B}/src/kexecboot ${D}${bindir}/kexecboot |
18 | install -d ${D}/proc | 20 | install -d ${D}/proc |