Move the stand/usb test loader into its own directory.
Fix its Makefile to build correctly. MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
a9ddb1ed12
commit
7a8769b3af
@ -30,6 +30,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
.PATH: ${.CURDIR}
|
.PATH: ${.CURDIR}
|
||||||
|
.SUFFIXES: .a
|
||||||
|
|
||||||
PROG= usbloader
|
PROG= usbloader
|
||||||
SRCS=
|
SRCS=
|
||||||
@ -45,12 +46,15 @@ LDFLAGS+= -Wl,--gc-sections
|
|||||||
|
|
||||||
SRCS+= bsd_usbloader_test.c
|
SRCS+= bsd_usbloader_test.c
|
||||||
|
|
||||||
LDADD+= libusbboot.a
|
USBLIB?= ${.OBJDIR}/../libusbboot.a
|
||||||
DPADD+= libusbboot.a
|
|
||||||
|
LDADD+= ${USBLIB}
|
||||||
|
DPADD+= ${USBLIB}
|
||||||
|
|
||||||
|
MAN=
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
|
||||||
${PROG}: libusbboot.a
|
${USBLIB}:
|
||||||
|
make -C ${.CURDIR}/.. USBCOREDIR=${.CURDIR}/..
|
||||||
|
|
||||||
libusbboot.a:
|
|
||||||
make -f Makefile
|
|
Loading…
Reference in New Issue
Block a user