summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>2016-01-18 16:09:35 +0000
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-19 22:00:24 +0100
commitfbb76bb3826aeaf057ace2911fe741b0f3679b27 (patch)
tree77f6fa381cf618dcee6d55303cec1e444e028b00
parent708bed57dc46eb99f88fad2ad983f0de22e4445b (diff)
downloadbuildroot-fbb76bb3826aeaf057ace2911fe741b0f3679b27.tar.gz
buildroot-fbb76bb3826aeaf057ace2911fe741b0f3679b27.zip
luvi: build for the right MIPS endianness
Otherwise it will cause build failures like this one: [100%] Linking C executable luvi /home/buildroot/autobuild/run/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/mipsel-buildroot-linux-gnu/5.2.0/../../../../mipsel-buildroot-linux-gnu/bin/ld: jitted_tmp/src/lua/init.lua_luvi_generated.o: compiled for a big endian system and target is little endian Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/luvi/luvi.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/luvi/luvi.mk b/package/luvi/luvi.mk
index ef1c2e1d9e..d83933e9b3 100644
--- a/package/luvi/luvi.mk
+++ b/package/luvi/luvi.mk
@@ -20,8 +20,10 @@ else ifeq ($(BR2_powerpc),y)
LUVI_TARGET_ARCH = ppc
else ifeq ($(BR2_arm)$(BR2_armeb),y)
LUVI_TARGET_ARCH = arm
-else ifeq ($(BR2_mips)$(BR2_mipsel),y)
+else ifeq ($(BR2_mips),y)
LUVI_TARGET_ARCH = mips
+else ifeq ($(BR2_mipsel),y)
+LUVI_TARGET_ARCH = mipsel
else
LUVI_TARGET_ARCH = $(BR2_ARCH)
endif
OpenPOWER on IntegriCloud