9d2bc1aa8cdfce589bd55848d0b89fd6bb703585
[bertos.git] / examples / test / armtest.mk
1 #
2 # $Id: armtest.mk 18234 2007-10-08 13:39:48Z rasky $
3 # Copyright 2006 Develer S.r.l. (http://www.develer.com/)
4 # All rights reserved.
5 #
6 # Makefile fragment for DevLib armtest application.
7 #
8 # Author: Bernie Innocenti <bernie@codewiz.org>
9 #
10 #
11
12 # Set to 1 for debug builds
13 armtest_DEBUG = 1
14
15 # Our target application
16 TRG += armtest
17
18 #include arm c and asm sources
19 include ./examples/test/arm_src.mk
20
21 armtest_CSRC = $(arm_CSRC) examples/test/empty_main.c
22
23 armtest_CPPASRC = $(arm_ASRC)
24
25 armtest_PREFIX = arm-none-eabi-
26
27 armtest_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
28 armtest_CPPFLAGS = -O0 -D'ARCH=ARCH_NIGHTTEST' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iexamples/test -Ibertos/cpu/arm
29 armtest_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
30
31 armtest_CPU = arm7tdmi
32