Files
rtems/make/custom/lpc2478.cfg
Ralf Corsepius edc1ce3ceb 2008-10-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* custom/gen83xx.cfg, custom/lpc2478.cfg: Remove warning flags.
2008-10-01 01:20:46 +00:00

24 lines
562 B
INI

#
# Config file for LPC2478 (QVGA Base Board from Embedded Artists).
#
# $Id$
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU = arm
RTEMS_BSP_FAMILY = lpc24xx
CPU_CFLAGS = -mcpu=arm7tdmi -mstructure-size-boundary=8 -mapcs-frame
CFLAGS_OPTIMIZE_V = -Os -g
define bsp-post-link
$(OBJCOPY) -O binary '$@' '$(basename $@).bin'
gzip -f -9 '$(basename $@).bin'
# mkimage -A arm -O rtems -T kernel -C gzip \
# -a a0000000 -e a0000000 -name '$(notdir $@)' \
# -d '$(basename $@).bin.gz' '$(basename $@).img'
$(default-bsp-post-link)
endef