mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-28 08:34:23 +03:00
Build tests using the locally-available gcc arm binary name.
This commit is contained in:
parent
7cd6a6c940
commit
642882396b
@ -1,8 +1,10 @@
|
||||
A32CC=arm-linux-gnueabi-gcc
|
||||
# arm-none-eabi-gcc
|
||||
T32CC=arm-linux-gnueabi-gcc -mthumb
|
||||
# -march=armv7-m
|
||||
# arm-none-eabi-gcc -march=armv7-m
|
||||
# n.b. nix packages for this arm gcc and related:
|
||||
# pkgsCross.arm-embedded.buildPackages.gcc
|
||||
|
||||
CCPROG != for X in arm-linux-gnueabi-gcc arm-none-eabi-gcc gcc ; do if type $$X > /dev/null 2>&1 ; then echo $$X; break; fi; done
|
||||
|
||||
A32CC := $(CCPROG)
|
||||
T32CC := $(CCPROG) -mthumb
|
||||
|
||||
all: $(patsubst %.c,%-a32.exe,$(wildcard *.c)) $(patsubst %.c,%-t32.exe,$(wildcard *.c))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user