summaryrefslogtreecommitdiffstats
path: root/make/custom/rbtx4938.cfg
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-03-06 21:51:01 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-03-06 21:51:01 +0000
commit6087a6925701db0d0da461fc38ec39bd73d02390 (patch)
tree8c6b313b671f943f5c661ea16c6b0c645c0c6473 /make/custom/rbtx4938.cfg
parentSwitch back to old GCC_RPMREL versioning scheme. (diff)
downloadrtems-6087a6925701db0d0da461fc38ec39bd73d02390.tar.bz2
Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file.
Diffstat (limited to 'make/custom/rbtx4938.cfg')
-rw-r--r--make/custom/rbtx4938.cfg13
1 files changed, 3 insertions, 10 deletions
diff --git a/make/custom/rbtx4938.cfg b/make/custom/rbtx4938.cfg
index 6c9f51d02a..81f4886552 100644
--- a/make/custom/rbtx4938.cfg
+++ b/make/custom/rbtx4938.cfg
@@ -18,14 +18,7 @@ CPU_CFLAGS = -mips3 -G0 -EL
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
-# The following are definitions of make-exe which will work using ld as
-# is currently required.
-
-define make-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
- -o $@ -Xlinker -Map -Xlinker $(basename $@).map $(LINK_OBJS) $(LINK_LIBS)
- $(OBJCOPY) --srec-len=30 -O srec $@ $(basename $@).srec
+define bsp-post-link
+ $(OBJCOPY) --srec-len=30 -O srec $@ $(basename $@)$(DOWNEXT)
+ $(default-bsp-post-link)
endef
-
-# Miscellaneous additions go here
-