Fix the bug related to the empty version list
[bertos.git] / examples / at91sam7 / at91sam7x.mk
1 #
2 # $Id: at91sam7x.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 at91sam7x application.
7 #
8 # Author: Bernie Innocenti <bernie@codewiz.org>
9 #
10 #
11
12 # Set to 1 for debug builds
13 at91sam7x_DEBUG = 1
14
15 # Our target application
16 TRG += at91sam7x
17
18 at91sam7x_CSRC = \
19         examples/at91sam7/at91sam7.c \
20         bertos/drv/timer.c \
21         bertos/drv/ser.c \
22         bertos/cpu/arm/drv/sysirq_at91.c \
23         bertos/cpu/arm/drv/ser_at91.c \
24         bertos/cpu/arm/drv/timer_at91.c \
25         bertos/mware/event.c \
26         bertos/mware/formatwr.c \
27         bertos/mware/hex.c \
28         bertos/kern/kfile.c \
29         bertos/kern/proc.c \
30         bertos/kern/coop.c \
31         bertos/kern/proc_test.c \
32         bertos/kern/monitor.c \
33         bertos/kern/signal.c \
34         #
35
36 at91sam7x_CPPASRC = \
37         bertos/cpu/arm/hw/crtat91sam7_rom.S \
38         bertos/cpu/arm/hw/switch_ctx_arm.S \
39         #
40
41 at91sam7x_PREFIX = arm-none-eabi-
42
43 at91sam7x_CPPAFLAGS = -O0 -g -gdwarf-2 -g -gen-debug
44 at91sam7x_CPPFLAGS = -O0 -D'ARCH=0' -D__ARM_AT91SAM7X256__ -D'CPU_FREQ=(48023000UL)' -D'WIZ_AUTOGEN' -g3 -gdwarf-2 -fverbose-asm -Iexamples/at91sam7 -Ibertos/cpu/arm
45 at91sam7x_LDFLAGS = -nostartfiles -T bertos/cpu/arm/scripts/at91sam7_256_rom.ld -Wl,--no-warn-mismatch
46
47 at91sam7x_CPU = arm7tdmi
48