diff options
| author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-02-07 19:20:59 +0000 |
|---|---|---|
| committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-02-07 19:20:59 +0000 |
| commit | 05890ca018513401980415f735eca8c94aaa644a (patch) | |
| tree | b92aa499254055934b4692eaf4573196f8801716 /stand/usb | |
| parent | 99493f5a4a959fb88e6034d6f60e2bda91475ef6 (diff) | |
Notes
Diffstat (limited to 'stand/usb')
| -rw-r--r-- | stand/usb/test/Makefile (renamed from stand/usb/Makefile.test) | 14 | ||||
| -rw-r--r-- | stand/usb/test/bsd_usbloader_test.c (renamed from stand/usb/bsd_usbloader_test.c) | 0 |
2 files changed, 9 insertions, 5 deletions
diff --git a/stand/usb/Makefile.test b/stand/usb/test/Makefile index 4d7a0733c224..c82b5bac3823 100644 --- a/stand/usb/Makefile.test +++ b/stand/usb/test/Makefile @@ -30,6 +30,7 @@ # .PATH: ${.CURDIR} +.SUFFIXES: .a PROG= usbloader SRCS= @@ -45,12 +46,15 @@ LDFLAGS+= -Wl,--gc-sections SRCS+= bsd_usbloader_test.c -LDADD+= libusbboot.a -DPADD+= libusbboot.a +USBLIB?= ${.OBJDIR}/../libusbboot.a + +LDADD+= ${USBLIB} +DPADD+= ${USBLIB} + +MAN= .include <bsd.prog.mk> -${PROG}: libusbboot.a +${USBLIB}: + make -C ${.CURDIR}/.. USBCOREDIR=${.CURDIR}/.. -libusbboot.a: - make -f Makefile diff --git a/stand/usb/bsd_usbloader_test.c b/stand/usb/test/bsd_usbloader_test.c index 35140b87c360..35140b87c360 100644 --- a/stand/usb/bsd_usbloader_test.c +++ b/stand/usb/test/bsd_usbloader_test.c |
