Rename myself
[bertos.git] / app / 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 ./app/test/arm_src.mk
20
21 armtest_CSRC = $(arm_CSRC) app/test/empty_main.c
22
23 armtest_CPPASRC = $(arm_ASRC)
24
25 armtest_CROSS = arm-elf-
26
27 armtest_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
28 armtest_CPPFLAGS = -O0 -D'ARCH=0xFFFFFF' -D__ARM_AT91SAM7S256__ -g3 -gdwarf-2 -fverbose-asm -Iapp/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
33 # Debug stuff
34 ifeq ($(armtest_DEBUG),1)
35         armtest_CFLAGS += -D_DEBUG
36 endif
37