Skip to contentSkip to conversation

makedumpfile: Use right TARGET for ppc32

PATCH New Khem Raj 1 participant 1 message May 1, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 makedumpfile: Use right TARGET for ppc32

---
 meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.7.1.bb +5 -1
index c3f965b041..eb004c2ed5 100644
@@ -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} \
 "
 
Signature · 1 line
2.36.0