From 2c3bc7b9f44fcc84a98a3b521a77f2ad5a797884 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 30 Dec 2004 23:19:40 +0000 Subject: [PATCH] Call usbdevs2h with -h for .h file Explicitly generate usbdevs_data.h for usb kernels with new -d switch --- sys/conf/files | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/conf/files b/sys/conf/files index f651f1ecb38e..f6e96b5bce56 100644 --- a/sys/conf/files +++ b/sys/conf/files @@ -52,9 +52,14 @@ pccarddevs.h standard \ clean "pccarddevs.h" usbdevs.h optional usb \ dependency "$S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \ - compile-with "${AWK} -f $S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \ + compile-with "${AWK} -f $S/tools/usbdevs2h.awk $S/dev/usb/usbdevs -h" \ no-obj no-implicit-rule before-depend \ - clean "usbdevs.h usbdevs_data.h" + clean "usbdevs.h" +usbdevs_data.h optional usb \ + dependency "$S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \ + compile-with "${AWK} -f $S/tools/usbdevs2h.awk $S/dev/usb/usbdevs -d" \ + no-obj no-implicit-rule before-depend \ + clean "usbdevs_data.h" kern/device_if.m standard kern/bus_if.m standard kern/clock_if.m optional genclock