aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-05-01 07:58:36 -0700
committerArmin Kuster <akuster808@gmail.com>2022-05-17 05:57:10 -0700
commit35b74d369a37cf79b781d969a761e746f61027b3 (patch)
treeba7029361433fde41ac6ebc33c872c4eb0c14d7c
parent802b41d217c0f4556b6550f32712899b153c3664 (diff)
downloadmeta-openembedded-contrib-35b74d369a37cf79b781d969a761e746f61027b3.tar.gz
makedumpfile: Use right TARGET for ppc32
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f994a19220ab42d3d8002adc89a04b3904020feb) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb
index c3f965b041..eb004c2ed5 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb
@@ -36,9 +36,13 @@ SECTION = "base"
# If we do not specify TARGET, makedumpfile will build for the host but use the
# target gcc.
#
+
+MAKEDUMPFILE_TARGET ?= "${TARGET_ARCH}"
+MAKEDUMPFILE_TARGET:powerpc = "ppc"
+
EXTRA_OEMAKE = "\
LINKTYPE=static \
- TARGET=${TARGET_ARCH} \
+ TARGET=${MAKEDUMPFILE_TARGET} \
${PACKAGECONFIG_CONFARGS} \
"