aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexander Egorenkov <egorenar-dev@posteo.net>2020-09-10 09:09:05 +0200
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-09-19 08:56:14 +0200
commit060275b6834423bfa76452328264618a4f77e47e (patch)
tree0a11e9c6b9e2eb6c2d04f261fe71668afaf11eed
parent2ff81c925dc56b8a0d213fa27eed35fd8a189bd4 (diff)
downloadbuildroot-060275b6834423bfa76452328264618a4f77e47e.tar.gz
buildroot-060275b6834423bfa76452328264618a4f77e47e.tar.bz2
package/makedumpfile: fix build for powerpc target
Fixes: - http://autobuild.buildroot.net/results/e480858d63285e9bf79a4a96dae802ef2ce605c2 Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
-rw-r--r--package/makedumpfile/makedumpfile.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/makedumpfile/makedumpfile.mk b/package/makedumpfile/makedumpfile.mk
index 1876e1158a..8077664892 100644
--- a/package/makedumpfile/makedumpfile.mk
+++ b/package/makedumpfile/makedumpfile.mk
@@ -15,9 +15,16 @@ MAKEDUMPFILE_DEPENDENCIES += lzo
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
endif
+ifeq ($(BR2_powerpc),y)
+MAKEDUMPFILE_TARGET = powerpc32
+else
+MAKEDUMPFILE_TARGET = $(BR2_ARCH)
+endif
+
+
define MAKEDUMPFILE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
- TARGET=$(BR2_ARCH) LINKTYPE=dynamic
+ TARGET=$(MAKEDUMPFILE_TARGET) LINKTYPE=dynamic
endef
define MAKEDUMPFILE_INSTALL_TARGET_CMDS