listdev: include dependency on generated file

listdev depends, through usb-utils.h, on the script-generated usbhdr.h.

Additionally, there's no dependency on kdevice_manager.h since 2008.

Change-Id: I77d36d6b5dca48415fcb98121ecb6d372cfa85ab
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5972
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
Máximo Castañeda
2022-12-31 14:45:40 +00:00
parent 4f9fe6c0db
commit 7a6e72c289
+4 -3
View File
@@ -1,8 +1,6 @@
SubDir HAIKU_TOP src bin listdev ;
UsePrivateHeaders shared ;
UsePrivateKernelHeaders ;
# TODO: The dm_wrapper.h includes <kdevice_manager.h>! Clean that up!
UsePrivateSystemHeaders ;
BinCommand listdev :
@@ -13,4 +11,7 @@ BinCommand listdev :
ObjectHdrs [ FGristFiles listdev$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
apps devices ] ;
Includes [ FGristFiles listdev.cpp ] : <src!apps!devices>pcihdr.h ;
Includes [ FGristFiles listdev.cpp ] :
<src!apps!devices>pcihdr.h
<src!apps!devices>usbhdr.h
;