mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
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
99493f5a4a
commit
05890ca018
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=328990
@ -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
|
Loading…
Reference in New Issue
Block a user