summaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-06 15:48:04 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-06 15:48:04 +0000
commitdfa6d4b758fe708e9ebc6e319146b88000faf727 (patch)
tree13d9be03740350b5cae4eb94b500ee8148bbf22d /make
parent1a505aae33a4666c543937839fea4883ef15784f (diff)
downloadrtems-dfa6d4b758fe708e9ebc6e319146b88000faf727.tar.bz2
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* custom/vegaplus.cfg: Fix make-exe rule and eliminate mkdir and copies that should not be in it.
Diffstat (limited to 'make')
-rw-r--r--make/ChangeLog5
-rw-r--r--make/custom/vegaplus.cfg12
2 files changed, 11 insertions, 6 deletions
diff --git a/make/ChangeLog b/make/ChangeLog
index d728d8e94a..a2aaa8e3f5 100644
--- a/make/ChangeLog
+++ b/make/ChangeLog
@@ -1,4 +1,9 @@
+2000-12-06 Joel Sherrill <joel@OARcorp.com>
+
+ * custom/vegaplus.cfg: Fix make-exe rule and eliminate mkdir
+ and copies that should not be in it.
+
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* custom/jmr3904.cfg: Turn optimization back up to -O2.
diff --git a/make/custom/vegaplus.cfg b/make/custom/vegaplus.cfg
index 190ed2337c..e90fdd3b2b 100644
--- a/make/custom/vegaplus.cfg
+++ b/make/custom/vegaplus.cfg
@@ -37,19 +37,19 @@ CFLAGS_DEBUG_V = -O1
define make-exe
$(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
- -v -static -Wl,-Map -Wl,Mapfile -o $@ \
+ -v -static -Wl,-Map -Wl,Mapfile -o $(basename $@).obj \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O binary \
--only-section=.text \
--only-section=.data \
--only-section=.rodata \
- --strip-unneeded $(basename $@).obj $(basename $@).bin
+ --strip-unneeded $(basename $@).obj $(basename $@).exe
$(NM) -g -n $(basename $@).obj > $(basename $@).num
$(SIZE) $(basename $@).obj
- test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
- f=`basename $@ .exe`; \
- cp $(basename $@).bin $(basename $@).exe
- cp $(basename $@).bin ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
+ # test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin
+ # f=`basename $@ .exe`; \
+ # cp $(basename $@).bin $(basename $@).exe
+ # cp $(basename $@).bin ${PROJECT_RELEASE}/bin/$${f}$(LIB_VARIANT).exe
endef
# Miscellaneous additions go here