summaryrefslogtreecommitdiffstats
path: root/make/custom
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom')
-rw-r--r--make/custom/genmongoosev.cfg2
-rw-r--r--make/custom/h8sim.cfg13
-rw-r--r--make/custom/jmr3904.cfg13
3 files changed, 3 insertions, 25 deletions
diff --git a/make/custom/genmongoosev.cfg b/make/custom/genmongoosev.cfg
index e2a3af50ed..d1d863458d 100644
--- a/make/custom/genmongoosev.cfg
+++ b/make/custom/genmongoosev.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=genmongoosev
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS=-mips1 -g -G0
+CPU_CFLAGS=-mips1 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
diff --git a/make/custom/h8sim.cfg b/make/custom/h8sim.cfg
index 5c4ecc199f..70591d9a7c 100644
--- a/make/custom/h8sim.cfg
+++ b/make/custom/h8sim.cfg
@@ -20,22 +20,12 @@ CPU_CFLAGS=-mh -mint32
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
# CFLAGS_OPTIMIZE_V=-O4 -mleaf-procedures
-CFLAGS_OPTIMIZE_V=-O0 -g
+CFLAGS_OPTIMIZE_V=-O0
# The following are definitions of make-exe which will work using ld as
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
-ifeq ($(RTEMS_USE_GCC272),yes)
-
-define make-exe
- $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
- $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
-endef
-
-else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -43,7 +33,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
-endif
# Miscellaneous additions go here
diff --git a/make/custom/jmr3904.cfg b/make/custom/jmr3904.cfg
index ee27b2940e..e90328e440 100644
--- a/make/custom/jmr3904.cfg
+++ b/make/custom/jmr3904.cfg
@@ -15,7 +15,7 @@ RTEMS_BSP_FAMILY=jmr3904
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
#
-CPU_CFLAGS=-m3900 -g -G0
+CPU_CFLAGS=-m3900 -G0
# optimize flag: typically -0, could use -O4 or -fast
# -O4 is ok for RTEMS
@@ -25,16 +25,6 @@ CFLAGS_OPTIMIZE_V=-O2 -g
# is currently required. It is expected that as of gcc 2.8, the end user
# will be able to override parts of the compilers specs and link using gcc.
-ifeq ($(RTEMS_USE_GCC272),yes)
-
-define make-exe
- $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \
- $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
- $(NM) -g -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
-endef
-
-else
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
$(LDLIBS) -o $@ \
@@ -42,7 +32,6 @@ define make-exe
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@
endef
-endif
# Miscellaneous additions go here