libcompiler_rt: Fixing Makefile for CPU endianness.
authorTim 'mithro' Ansell <mithro@mithis.com>
Tue, 19 Apr 2016 04:55:01 +0000 (14:55 +1000)
committerTim 'mithro' Ansell <mithro@mithis.com>
Tue, 19 Apr 2016 04:55:01 +0000 (14:55 +1000)
litex/soc/software/libcompiler_rt/Makefile

index 35a8b98ec25198e014fbb364fc57b23ef1d35de7..81d6a4bf4548e7cb46f5b2afbbd50d06183a006a 100644 (file)
@@ -1,7 +1,7 @@
 include ../include/generated/variables.mak
 include $(SOC_DIRECTORY)/software/common.mak
 
-ifeq ($(CPU),big)
+ifeq ($(CPUENDIANNESS),big)
 CFLAGS+=-D_YUGA_LITTLE_ENDIAN=0 -D_YUGA_BIG_ENDIAN=1 -Wno-missing-prototypes
 else
 CFLAGS+=-D_YUGA_LITTLE_ENDIAN=1 -D_YUGA_BIG_ENDIAN=0 -Wno-missing-prototypes