shithub: riscv

Download patch

ref: a2e8246ffc12660f8628266e73aae74b52bd86d8
parent: 120ab04dd2e351cf8023b6cf8f2f7c08a906a2c5
author: cinap_lenrek <[email protected]>
date: Sat Feb 17 21:06:55 EST 2018

nusb: add missing header dependencies to mkfiles

--- a/sys/src/cmd/nusb/disk/mkfile
+++ b/sys/src/cmd/nusb/disk/mkfile
@@ -6,9 +6,8 @@
 	scsireq.$O\
 	scsierrs.$O\
 
-HFILES =\
+HFILES=../lib/usb.h\
 	scsireq.h\
-	../lib/usb.h\
 	ums.h\
 
 LIB=../lib/usb.a$O
--- a/sys/src/cmd/nusb/ether/mkfile
+++ b/sys/src/cmd/nusb/ether/mkfile
@@ -4,7 +4,7 @@
 LIB=../lib/usb.a$O
 
 TARG=ether
-HFILES=
+HFILES=../lib/usb.h dat.h
 OFILES=ether.$O cdc.$O smsc.$O asix.$O aue.$O url.$O rndis.$O
 
 </sys/src/cmd/mkone
--- a/sys/src/cmd/nusb/ptp/mkfile
+++ b/sys/src/cmd/nusb/ptp/mkfile
@@ -4,7 +4,7 @@
 LIB=../lib/usb.a$O
 
 TARG=ptp
-HFILES=
+HFILES=../lib/usb.h
 OFILES=ptp.$O
 
 </sys/src/cmd/mkone
--- a/sys/src/cmd/nusb/usbd/mkfile
+++ b/sys/src/cmd/nusb/usbd/mkfile
@@ -5,7 +5,7 @@
 	hub.$O\
 	hname.$O\
 
-HFILES=\
+HFILES=../lib/usb.h\
 	dat.h\
 	fns.h\