From 18e8f946ec28bb550e5bcb72d1b6b19a09f59721 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Tue, 2 Dec 2014 02:11:09 +0000 Subject: Add elfcopy and man page to OptionalObsoleteFiles --- tools/build/mk/OptionalObsoleteFiles.inc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools') diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index fa643a80916ba..0f72659f76617 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -1198,6 +1198,11 @@ OLD_FILES+=usr/share/dict/words OLD_DIRS+=usr/share/dict .endif +.if ${MK_ELFTOOLCHAIN_TOOLS} == no +OLD_FILES+=usr/bin/elfcopy +OLD_FILES+=usr/share/man/man1/elfcopy.1.gz +.endif + #.if ${MK_EXAMPLES} == no # to be filled in #.endif -- cgit v1.3 From 76ebf59046b6b936cac58654404c7bc9a7ef23c6 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 2 Dec 2014 13:58:57 +0000 Subject: 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(-) (limited to 'tools') diff --git a/tools/tools/usbtest/Makefile b/tools/tools/usbtest/Makefile index 1cc0c833e65e2..c67449839c557 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 -- cgit v1.3