From 6087a6925701db0d0da461fc38ec39bd73d02390 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 6 Mar 2008 21:51:01 +0000 Subject: 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. --- make/custom/leon2.cfg | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'make/custom/leon2.cfg') diff --git a/make/custom/leon2.cfg b/make/custom/leon2.cfg index 6141cbd4c1..683a123478 100644 --- a/make/custom/leon2.cfg +++ b/make/custom/leon2.cfg @@ -17,14 +17,3 @@ CPU_CFLAGS = -mcpu=cypress -msoft-float # optimize flag: typically -O2 CFLAGS_OPTIMIZE_V = -O2 -g - -# 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 $(basename $@).exe \ - $(LINK_OBJS) $(LINK_LIBS) - $(NM) -g -n $(basename $@).exe > $(basename $@).num - $(SIZE) $(basename $@).exe -endef -# Miscellaneous additions go here -- cgit v1.2.3