From 514496d74456d6f8f5a3a95d034b1e5b693336b8 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Tue, 19 Apr 2016 14:55:01 +1000 Subject: [PATCH] libcompiler_rt: Fixing Makefile for CPU endianness. --- litex/soc/software/libcompiler_rt/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/libcompiler_rt/Makefile b/litex/soc/software/libcompiler_rt/Makefile index 35a8b98e..81d6a4bf 100644 --- a/litex/soc/software/libcompiler_rt/Makefile +++ b/litex/soc/software/libcompiler_rt/Makefile @@ -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 -- 2.30.2