diff options
| author | sakumisu <[email protected]> | 2025-05-15 20:20:54 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2025-05-15 20:20:54 +0800 |
| commit | edc0c95db2d2ebefde5b78d36e51795dc10ed6b4 (patch) | |
| tree | a4589597090655cc57d42820e06e36f58de3fcb6 /SConscript | |
| parent | 10e7fb60b4ba37ce806a86278b95d770341fb51c (diff) | |
refactor(port/nxp): combine nxp mcx glue for chipdea & ehci
Signed-off-by: sakumisu <[email protected]>
Diffstat (limited to 'SConscript')
| -rw-r--r-- | SConscript | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -73,9 +73,11 @@ if GetDepend(['PKG_CHERRYUSB_DEVICE']): if GetDepend(['PKG_CHERRYUSB_DEVICE_MUSB_CUSTOM']): src += Glob('port/musb/usb_dc_musb.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_CHIPIDEA_MCX']): + path += [cwd + '/port/chipidea'] src += Glob('port/chipidea/usb_dc_chipidea.c') - src += Glob('port/chipidea/usb_glue_mcx.c') + src += Glob('port/nxp/usb_glue_mcx.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_CHIPIDEA_CUSTOM']): + path += [cwd + '/port/chipidea'] src += Glob('port/chipidea/usb_dc_chipidea.c') if GetDepend(['PKG_CHERRYUSB_DEVICE_KINETIS_MCX']): src += Glob('port/kinetis/usb_dc_kinetis.c') @@ -181,7 +183,7 @@ if GetDepend(['PKG_CHERRYUSB_HOST']): if GetDepend(['PKG_CHERRYUSB_HOST_EHCI_MCX']): path += [cwd + '/port/chipidea'] src += Glob('port/ehci/usb_hc_ehci.c') - src += Glob('port/ehci/usb_glue_mcx.c') + src += Glob('port/nxp/usb_glue_mcx.c') if GetDepend(['PKG_CHERRYUSB_HOST_EHCI_NUC980']): src += Glob('port/ehci/usb_hc_ehci.c') src += Glob('port/ehci/usb_glue_nuc980.c') |
