summaryrefslogtreecommitdiff
path: root/SConscript
diff options
context:
space:
mode:
authorsakumisu <[email protected]>2025-07-31 18:14:49 +0800
committersakumisu <[email protected]>2025-07-31 18:14:49 +0800
commitf994422c418d78d6a06eef90f69a5d00135c350c (patch)
treeaba031fae9d2eb10c46f9c5e0d463016733abdaa /SConscript
parent5ae04f12737ab06d548342d0f2a2dc2dbff1da7a (diff)
chore(scons): export hpmicro dir
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
-rw-r--r--SConscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConscript b/SConscript
index 81bd3aaf..fb7b5bdf 100644
--- a/SConscript
+++ b/SConscript
@@ -90,6 +90,7 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']):
if GetDepend(['PKG_CHERRYUSB_DEVICE_BL']):
src += Glob('port/bouffalolab/usb_dc_bl.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_HPM']):
+ path += [cwd + '/port/hpmicro']
src += Glob('port/hpmicro/usb_dc_hpm.c')
src += Glob('port/hpmicro/usb_glue_hpm.c')
if GetDepend(['PKG_CHERRYUSB_DEVICE_AIC']):
@@ -184,6 +185,7 @@ if GetDepend(['PKG_CHERRYUSB_HOST']):
src += Glob('port/ehci/usb_hc_ehci.c')
src += Glob('port/ehci/usb_glue_bouffalo.c')
if GetDepend(['PKG_CHERRYUSB_HOST_EHCI_HPM']):
+ path += [cwd + '/port/hpmicro']
src += Glob('port/ehci/usb_hc_ehci.c')
src += Glob('port/hpmicro/usb_hc_hpm.c')
src += Glob('port/hpmicro/usb_glue_hpm.c')