aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-04-22 17:53:35 -0700
committerKhem Raj <raj.khem@gmail.com>2022-04-22 17:58:09 -0700
commit224d8a8cbeef0c5ccdf03e9f6660203af7abead6 (patch)
tree5949c7d4d6ca84086cc2eab59642a4dc0e733c59 /meta-oe
parentc7ce2371c021d713f5328a0a50b23a21f2e4792b (diff)
downloadmeta-openembedded-contrib-224d8a8cbeef0c5ccdf03e9f6660203af7abead6.tar.gz
crash: Fix build for mips target
The patch to remove these options is removed therefore instrument them via sed operations Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Mingli Yu <mingli.yu@windriver.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-kernel/crash/crash_8.0.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/crash/crash_8.0.0.bb b/meta-oe/recipes-kernel/crash/crash_8.0.0.bb
index 4ea5b67de1..55de6a604b 100644
--- a/meta-oe/recipes-kernel/crash/crash_8.0.0.bb
+++ b/meta-oe/recipes-kernel/crash/crash_8.0.0.bb
@@ -72,6 +72,7 @@ do_compile:prepend() {
sed -i s/FORCE_DEFINE_ARCH/"${ARCH}"/g ${S}/configure.c
sed -i -e 's/#define TARGET_CFLAGS_ARM_ON_X86_64.*/#define TARGET_CFLAGS_ARM_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c
+ sed -i -e 's/#define TARGET_CFLAGS_MIPS_ON_X86_64.*/#define TARGET_CFLAGS_MIPS_ON_X86_64\t\"TARGET_CFLAGS=-D_FILE_OFFSET_BITS=64\"/g' ${S}/configure.c
sed -i 's/&gt;/>/g' ${S}/Makefile
}