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>
This commit is contained in:
parent
2ff81c925d
commit
060275b683
@ -15,9 +15,16 @@ MAKEDUMPFILE_DEPENDENCIES += lzo
|
|||||||
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
|
MAKEDUMPFILE_MAKE_OPTS += USELZO=on
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_powerpc),y)
|
||||||
|
MAKEDUMPFILE_TARGET = powerpc32
|
||||||
|
else
|
||||||
|
MAKEDUMPFILE_TARGET = $(BR2_ARCH)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
define MAKEDUMPFILE_BUILD_CMDS
|
define MAKEDUMPFILE_BUILD_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||||
TARGET=$(BR2_ARCH) LINKTYPE=dynamic
|
TARGET=$(MAKEDUMPFILE_TARGET) LINKTYPE=dynamic
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define MAKEDUMPFILE_INSTALL_TARGET_CMDS
|
define MAKEDUMPFILE_INSTALL_TARGET_CMDS
|
||||||
|
Loading…
Reference in New Issue
Block a user