summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-12 22:31:18 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-13 22:32:07 -0700
commit95bf58c16e40d182d55b29c2858364e6a31dd160 (patch)
tree8defc4a9d805ef01e2ca291e4e6d0e4bc7a05b1d
parent000c6a181e2fb989270925a5b918172fb01ef47a (diff)
downloadmeta-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>
-rw-r--r--meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb2
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
14EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250" 14EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250"
15 15
16CFLAGS += "-fcommon"
17
16do_install () { 18do_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