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 <waddlesplash@gmail.com>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Máximo Castañeda 2022-12-29 21:47:06 +01:00
parent 4f9fe6c0db
commit 7a6e72c289

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
;