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/bare.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'make/custom/bare.cfg') diff --git a/make/custom/bare.cfg b/make/custom/bare.cfg index 1c3c641018..18757b985e 100644 --- a/make/custom/bare.cfg +++ b/make/custom/bare.cfg @@ -28,14 +28,14 @@ START_BASE= define make-exe @echo "*** Cannot do a link with the bare bsp. ***" - @echo "#!/bin/sh" > $(basename $@).exe - @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe + @echo "#!/bin/sh" > $(basename $@)$(EXEEXT) + @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@)$(EXEEXT) endef define make-cxx-exe @echo "*** Cannot do a link with the bare bsp. ***" - @echo "#!/bin/sh" > $(basename $@).exe - @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe + @echo "#!/bin/sh" > $(basename $@)$(EXEEXT) + @echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@)$(EXEEXT) endef # Miscellaneous additions go here -- cgit v1.2.3