summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-31 15:15:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-01-31 15:15:10 +0000
commit4c46630639ab25de2a90507694d369116a26059b (patch)
treea4c5525e348e52a5e636718e9c9e2a1ff092b6cd /make
parentSuccessfully built some RPMs. There is still a lot of work to do. (diff)
downloadrtems-4c46630639ab25de2a90507694d369116a26059b.tar.bz2
Patch rtems-rc-20000118-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
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
Diffstat (limited to 'make')
-rw-r--r--make/custom/dmv152.cfg4
-rw-r--r--make/custom/gensh2.cfg2
2 files changed, 3 insertions, 3 deletions
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