summaryrefslogtreecommitdiffstats
path: root/make/custom/p4600.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-03 14:44:39 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-04-03 14:44:39 +0000
commiteffc2c4e6b345b1333f2f9ec75ee540c76295ffe (patch)
treed94bf58697da92732107215a48898832716bc19f /make/custom/p4600.cfg
parentPatch from Jay Kulpinski <jskulpin@eng01.gdds.com> that makes (diff)
downloadrtems-effc2c4e6b345b1333f2f9ec75ee540c76295ffe.tar.bz2
Patch rtems-rc-4.5.0-6-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
The patch contains: * build variants support * Reworked make-exe custom/*.cfg for all targets (Should be self-explanatory, may still be incomplete) * Several fixes to custom/*.cfgs related to setting debug flags * Fixes to some bsp_specs for BSPs which apparently have never been build with debugging before ;) * pc386.cfg fix attempts (cf. my mail from earlier today) * Updated ampolish (No need to run it, the patch contains the result from having applied it) Known bugs/deficiencies related to this work: * "make [clean|distclean]" support is still incomplete (e.g. "make clean" does not delete all Depends-o-*) * Completely untested for linux/posix and hppa. * Build failures of i960 BSPs (make VARIANT=DEBUG) - I guess, they are not related to this patch. * Successfully tested for all sh, sparc, i386, ppc, m68k BSPs (make VARIANT=DEBUG) * make VARIANT=PROFILE not supported by all BSPs (I don't care :) * make VARIANT=DEBUG failures below tests/ for some BSPs (e.g. gensh1), because of the tests's binaries being too large to fit into the target memory layout.
Diffstat (limited to 'make/custom/p4600.cfg')
-rw-r--r--make/custom/p4600.cfg10
1 files changed, 5 insertions, 5 deletions
diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg
index 11de96e414..f4dff4dedd 100644
--- a/make/custom/p4600.cfg
+++ b/make/custom/p4600.cfg
@@ -70,13 +70,13 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) \
- -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ -o $@ $(LINK_OBJS) $(LINK_LIBS)
+ $(OBJCOPY) -O srec $@ $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
$(RM) $(basename $@).srec1
- $(NM) -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
+ $(NM) -n $@ > $(basename $@).num
+ $(SIZE) $@
endef
endif