Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] luvi: build for the right MIPS endianness
@ 2016-01-18 16:09 Vicente Olivert Riera
  2016-01-19 21:00 ` Thomas Petazzoni
  2016-01-19 23:09 ` Arnout Vandecappelle
  0 siblings, 2 replies; 3+ messages in thread
From: Vicente Olivert Riera @ 2016-01-18 16:09 UTC (permalink / raw)
  To: buildroot

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>
---
 package/luvi/luvi.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/luvi/luvi.mk b/package/luvi/luvi.mk
index ef1c2e1..d83933e 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
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-19 23:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 16:09 [Buildroot] [PATCH] luvi: build for the right MIPS endianness Vicente Olivert Riera
2016-01-19 21:00 ` Thomas Petazzoni
2016-01-19 23:09 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox