summaryrefslogtreecommitdiffstats
path: root/testsuite/usb01/Makefile
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-20 08:58:01 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-03-20 08:58:01 -0500
commit8ac749a3ea2025526e673755f6211e2c517a3956 (patch)
tree7ccf14d4d5a9e614951a62e99decbe04100335d9 /testsuite/usb01/Makefile
parentAdded RealTek nic. (diff)
downloadrtems-libbsd-8ac749a3ea2025526e673755f6211e2c517a3956.tar.bz2
Add USB test from Sebastian Huber with no modifications.
Diffstat (limited to 'testsuite/usb01/Makefile')
-rw-r--r--testsuite/usb01/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/testsuite/usb01/Makefile b/testsuite/usb01/Makefile
new file mode 100644
index 00000000..2d97767d
--- /dev/null
+++ b/testsuite/usb01/Makefile
@@ -0,0 +1,28 @@
+#
+# $Id$
+#
+
+include ../../config.inc
+
+PGM=${ARCH}/usb01.exe
+
+# optional managers required
+MANAGERS=all
+
+# C source names
+C_FILES = init.c
+C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
+
+AM_CPPFLAGS += -I $(INSTALL_BASE)/include
+LINK_LIBS += $(INSTALL_BASE)/libbsd.a -Wl,-Map=jennifer.txt
+
+include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
+include $(RTEMS_CUSTOM)
+include $(PROJECT_ROOT)/make/leaf.cfg
+
+OBJS= $(C_O_FILES)
+
+all: ${ARCH} $(PGM)
+
+$(PGM): $(OBJS)
+ $(make-exe)