mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
prboom: re-add big endian fixup
Seems I misread configure.ac, the endianness detection is only used when not cross compiling. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -19,6 +19,16 @@ PRBOOM_CONF_OPT = \
|
|||||||
--disable-sdltest \
|
--disable-sdltest \
|
||||||
--disable-gl
|
--disable-gl
|
||||||
|
|
||||||
|
# endianness detection isn't used when cross compiling
|
||||||
|
define PRBOOM_BIG_ENDIAN_FIXUP
|
||||||
|
$(SED) 's,.*#undef WORDS_BIGENDIAN.*,#define WORDS_BIGENDIAN 1,g' \
|
||||||
|
$(PRBOOM_DIR)/config.h
|
||||||
|
endef
|
||||||
|
|
||||||
|
ifeq ($(BR2_ENDIAN),"BIG")
|
||||||
|
PRBOOM_POST_CONFIGURE_HOOKS += PRBOOM_BIG_ENDIAN_FIXUP
|
||||||
|
endif
|
||||||
|
|
||||||
define PRBOOM_INSTALL_TARGET_CMDS
|
define PRBOOM_INSTALL_TARGET_CMDS
|
||||||
$(INSTALL) -D $(@D)/src/prboom $(TARGET_DIR)/usr/games/prboom
|
$(INSTALL) -D $(@D)/src/prboom $(TARGET_DIR)/usr/games/prboom
|
||||||
$(INSTALL) -D $(@D)/src/prboom-game-server $(TARGET_DIR)/usr/games/prboom-game-server
|
$(INSTALL) -D $(@D)/src/prboom-game-server $(TARGET_DIR)/usr/games/prboom-game-server
|
||||||
|
|||||||
Reference in New Issue
Block a user