From 4c46630639ab25de2a90507694d369116a26059b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 31 Jan 2000 15:15:10 +0000 Subject: Patch rtems-rc-20000118-1.diff from Ralf Corsepius that contains: * cleanups to configuration files * A reworked gccnewlib.spec.in: I have reformated it for enhanced readability and added more rtems-base packages. It now should be free of any installation conflicts (If there still remain some, they should be regarded as bugs). * A fix to the bin2boot RTEMS_BSP issue (make RTEMS_BSP="pc386 pc486" now works). * removes libbsp/bare/wrapup * Further cleanups --- make/custom/dmv152.cfg | 4 ++-- make/custom/gensh2.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'make') diff --git a/make/custom/dmv152.cfg b/make/custom/dmv152.cfg index 84c63061ec..a76804d6aa 100644 --- a/make/custom/dmv152.cfg +++ b/make/custom/dmv152.cfg @@ -67,11 +67,11 @@ define make-exe endef else define make-exe - $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \ + $(LINK.c) $(LDLIBS) -o $(basename $@).nxe \ $(LINK_OBJS) $(LINK_LIBS) $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \ - $(PACKHEX) > $(basename $@).exe + $(PACKHEX) > $@ $(NM) -g -n $(basename $@).nxe > $(basename $@).num $(SIZE) $(basename $@).nxe endef diff --git a/make/custom/gensh2.cfg b/make/custom/gensh2.cfg index 8c2f8d87c8..4ef24d80f5 100644 --- a/make/custom/gensh2.cfg +++ b/make/custom/gensh2.cfg @@ -83,7 +83,7 @@ else define make-exe $(LINK.c) -Wl,-Map,$(basename $@).map \ $(LDLIBS) -o $@ \ - $(LINK_OBJS) -lstdc++ $(LINK_LIBS) + $(LINK_OBJS) $(LINK_LIBS) -lstdc++ $(NM) -n $@ > $(basename $@).num $(SIZE) $@ endef -- cgit v1.2.3