diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-04-22 17:53:35 -0700 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2022-05-03 06:49:07 -0700 |
| commit | 2acf451b1b661a32ad75eea0dbaa06ba45298c1c (patch) | |
| tree | 84c924c1418bfb3a68fcfecd9f52a6db14ae919d /meta-oe/recipes-kernel | |
| parent | 2cd60a50035669079ef7206fb1eb7468c41625d8 (diff) | |
| download | meta-openembedded-2acf451b1b661a32ad75eea0dbaa06ba45298c1c.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>
(cherry picked from commit 224d8a8cbeef0c5ccdf03e9f6660203af7abead6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
| -rw-r--r-- | meta-oe/recipes-kernel/crash/crash_8.0.0.bb | 1 |
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() { | |||
| 72 | 72 | ||
| 73 | sed -i s/FORCE_DEFINE_ARCH/"${ARCH}"/g ${S}/configure.c | 73 | sed -i s/FORCE_DEFINE_ARCH/"${ARCH}"/g ${S}/configure.c |
| 74 | 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 | 74 | 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 |
| 75 | 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 | ||
| 75 | sed -i 's/>/>/g' ${S}/Makefile | 76 | sed -i 's/>/>/g' ${S}/Makefile |
| 76 | } | 77 | } |
| 77 | 78 | ||
