Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-02-18 23:22:24 +0300
committerChristopher Haster <chaster@utexas.edu>2018-02-19 10:40:28 +0300
commit67daf9e2c5f98e1cd820bc8fd5fd9e725a2a9390 (patch)
tree1a9bca956efbf50b57fb246d5af090ede272e2e5 /Makefile
parenta3fd2d4d6d5e125f878177931a8bd52e5d114f7a (diff)
Added cross-compile targets for testing
Using gcc cross compilers and qemu: - make test CC="arm-linux-gnueabi-gcc --static -mthumb" EXEC="qemu-arm" - make test CC="powerpc-linux-gnu-gcc --static" EXEC="qemu-ppc" - make test CC="mips-linux-gnu-gcc --static" EXEC="qemu-mips" Also separated out Travis jobs and added some size reporting
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 259ed0e..ee71793 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
TARGET = lfs
-CC = gcc
-AR = ar
-SIZE = size
+CC ?= gcc
+AR ?= ar
+SIZE ?= size
SRC += $(wildcard *.c emubd/*.c)
OBJ := $(SRC:.c=.o)