From 76ebf59046b6b936cac58654404c7bc9a7ef23c6 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 2 Dec 2014 13:58:57 +0000 Subject: [PATCH] Add missing Makefile defines so that the program in question can be built as part of buildworld. --- tools/tools/usbtest/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/tools/usbtest/Makefile b/tools/tools/usbtest/Makefile index 1cc0c833e65e..c67449839c55 100644 --- a/tools/tools/usbtest/Makefile +++ b/tools/tools/usbtest/Makefile @@ -30,11 +30,13 @@ SRCS+= usbtest.c SRCS+= usb_msc_test.c SRCS+= usb_modem_test.c SRCS+= usb_control_ep_test.c +SYSDIR?= ${.CURDIR}/../../../sys +DPADD+= ${LIBUSB} LDADD+= -lusb WARNS= 3 -CFLAGS+= -I ${.CURDIR}/../../../sys/dev/usb/gadget +CFLAGS+= -I${SYSDIR}/dev/usb/gadget .include