diff options
author | Christopher Haster <chaster@utexas.edu> | 2018-02-18 23:22:24 +0300 |
---|---|---|
committer | Christopher Haster <chaster@utexas.edu> | 2018-02-19 10:40:28 +0300 |
commit | 67daf9e2c5f98e1cd820bc8fd5fd9e725a2a9390 (patch) | |
tree | 1a9bca956efbf50b57fb246d5af090ede272e2e5 /Makefile | |
parent | a3fd2d4d6d5e125f878177931a8bd52e5d114f7a (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-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |