summaryrefslogtreecommitdiffstats
path: root/make/custom/gen68340.cfg
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-01-18 08:28:54 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-01-18 08:28:54 +0000
commitc51004a089461e6f10106a7edf03a82b537b7795 (patch)
treeab9fcec26cbd13bdb8087cff42449391b866b3df /make/custom/gen68340.cfg
parentAdd comment on CFLAGS_OPTIMIZE_V. (diff)
downloadrtems-c51004a089461e6f10106a7edf03a82b537b7795.tar.bz2
Misc cleanups.
Diffstat (limited to 'make/custom/gen68340.cfg')
-rw-r--r--make/custom/gen68340.cfg16
1 files changed, 2 insertions, 14 deletions
diff --git a/make/custom/gen68340.cfg b/make/custom/gen68340.cfg
index 92eb447ae0..1f75bd9fbc 100644
--- a/make/custom/gen68340.cfg
+++ b/make/custom/gen68340.cfg
@@ -13,6 +13,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=gen68340
+# This contains the compiler options necessary to select the CPU model
+# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu32
# optimize flag: typically -O2
@@ -27,19 +29,5 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
-# if you want to make a prom image
-# m68k-rtems-objcopy --adjust-section-vma \
-# .data=`m68k-rtems-objdump --section-headers $(basename $@).exe | \
-# awk 'function h2d(x) { x=toupper(x); digits=length(x); s=0 ; \
-# for (p=digits; p>0; p--) \
-# s += (16^(p-1)) * ( index("0123456789ABCDEF",\
-# substr(x,1+digits-p,1)) -1 );\
-# return s } ;\
-# /\.text/ { base = $$4 ; size = $$3 };\
-# END { printf("0x%x", h2d(base) + h2d(size)) }'\
-# ` $(basename $@).exe
-# if you want to convert it to ieee
-# m68k-rtems-objcopy --output-target=ieee --debugging \
-# $(basename $@).exe $(basename $@).ieee
# Miscellaneous additions go here