[rtems-libbsd commit] usb01: Correct Makefile

Joel Sherrill joel at rtems.org
Fri Aug 3 13:36:48 UTC 2012


Module:    rtems-libbsd
Branch:    master
Commit:    6e77c5a92973f0666d93a05898ba514be7238072
Changeset: http://git.rtems.org/rtems-libbsd/commit/?id=6e77c5a92973f0666d93a05898ba514be7238072

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sat Jul 28 07:13:24 2012 -0500

usb01: Correct Makefile

---

 testsuite/usb01/Makefile |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/testsuite/usb01/Makefile b/testsuite/usb01/Makefile
index 4014551..d12a215 100644
--- a/testsuite/usb01/Makefile
+++ b/testsuite/usb01/Makefile
@@ -1,7 +1,8 @@
 
 include ../../config.inc
 
-PGM=${ARCH}/usb01.exe
+APP=usb01
+PGM=${ARCH}/$(APP).exe
 
 include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
 include $(RTEMS_CUSTOM)
@@ -15,10 +16,12 @@ OBJS= $(C_O_FILES)
 
 DEPFLAGS = -MT $@ -MD -MP -MF $*.dep
 AM_CPPFLAGS += -I $(INSTALL_BASE)/include -I.
-#CLEAN_ADDITIONS += $(APP).exe $(APP).map $(C_DEP_FILES)
+CLEAN_ADDITIONS += $(APP).exe $(ARCH)/$(APP).map $(C_DEP_FILES)
 CLEAN_ADDITIONS += $(C_DEP_FILES)
 
-CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS) -Wno-unused -Wl,-Map,$(APP).map
+CFLAGS += $(DEPFLAGS) $(GCCFLAGS) $(AM_CPPFLAGS)
+CFLAGS += -Wno-unused
+CFLAGS += -Wl,-Map,$(ARCH)/$(APP).map
 
 LINK_LIBS += $(INSTALL_BASE)/libbsd.a
 




More information about the vc mailing list