summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-02-05 21:51:02 +0800
committersakumisu <[email protected]>2025-02-05 22:49:13 +0800
commit40122200d153e0eb9fe7150839560b6357659c55 (patch)
tree923c64a0b449620f5e164a53b9298f3d54950820 /SConscript
parente85d8985037544d8cd0b95b4e9953a0d802965db (diff)
chore: add more header path
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/SConscript b/SConscript
index 98b148d8..e02dd527 100644
--- a/SConscript
+++ b/SConscript
@@ -1,18 +1,23 @@
from building import *
cwd = GetCurrentDir()
-path = [cwd + '/common']
+path = [cwd]
+path += [cwd + '/common']
path += [cwd + '/core']
+path += [cwd + '/class/hub']
path += [cwd + '/class/cdc']
path += [cwd + '/class/msc']
path += [cwd + '/class/hid']
path += [cwd + '/class/audio']
path += [cwd + '/class/video']
path += [cwd + '/class/wireless']
+path += [cwd + '/class/midi']
+path += [cwd + '/class/adb']
path += [cwd + '/class/dfu']
path += [cwd + '/class/midi']
path += [cwd + '/class/vendor/net']
path += [cwd + '/class/vendor/serial']
+path += [cwd + '/class/vendor/wifi']
src = []
LIBS = []
@@ -147,7 +152,6 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
# USB HOST
if GetDepend(['PKG_CHERRYUSB_HOST']):
- path += [cwd + '/class/hub']
src += Glob('core/usbh_core.c')
src += Glob('class/hub/usbh_hub.c')
src += Glob('osal/usb_osal_rtthread.c')