2 # $Id: boot.mk 15184 2007-02-16 15:09:23Z batt $
3 # Copyright 2002, 2003, 2004 Develer S.r.l. (http://www.develer.com/)
6 # Makefile fragment for boot application.
8 # Author: Bernardo Innocenti <bernie@develer.com>
12 # Set to 1 for debug builds
15 # Our target application
23 cpu/avr/drv/ser_avr.c \
24 cpu/avr/drv/flash_avr.c \
29 boot_CPPFLAGS = -D'ARCH=(ARCH_TRIFACE|ARCH_BOOT)' -Iboot -Icpu/avr
30 boot_CFLAGS = -Os -mcall-prologues
31 boot_LDSCRIPT = boot/boot.ld
32 boot_LDFLAGS = -Wl,--relax
35 ifeq ($(boot_DEBUG),1)
36 boot_CFLAGS += -D_DEBUG
37 boot_PCSRC += drv/kdebug.c mware/formatwr.c