summaryrefslogtreecommitdiffstats
path: root/make/custom/lpc2478.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/lpc2478.cfg23
1 files changed, 8 insertions, 15 deletions
diff --git a/make/custom/lpc2478.cfg b/make/custom/lpc2478.cfg
index ceb6d28ede..7db495c51b 100644
--- a/make/custom/lpc2478.cfg
+++ b/make/custom/lpc2478.cfg
@@ -4,20 +4,13 @@
# $Id$
#
-include $(RTEMS_ROOT)/make/custom/default.cfg
+LPC24XX_LINKCMDS = linkcmds.lpc2478
-RTEMS_CPU = arm
-RTEMS_BSP_FAMILY = lpc24xx
+include $(RTEMS_ROOT)/make/custom/lpc24xx.cfg
-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
+# 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 a0000040 -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
+# $(default-bsp-post-link)
+# endef