diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index d7abae69e3..f803f6a652 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -82,6 +82,13 @@ hello-arm: hello-arm.o hello-arm.o: hello-arm.c arm-linux-gcc -Wall -g -O2 -c -o $@ $< +# MIPS test +hello-mips: hello-mips.c + mips-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $< + +hello-mipsel: hello-mips.c + mipsel-linux-gnu-gcc -nostdlib -static -mno-abicalls -fno-PIC -mabi=32 -Wall -Wextra -g -O2 -o $@ $< + # XXX: find a way to compile easily a test for each arch test2: @for arch in i386 arm armeb sparc ppc mips mipsel; do \ |