mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
resolve Conflicts
bsp/nrf52832/board/Sconscript bsp/nrf52832/startups/Sconscript bsp/raspberry-pi/raspi4-32/driver/SConscript
This commit is contained in:
@@ -1,9 +1,19 @@
|
||||
# RT-Thread building script for component
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c') + Glob('*.cpp')
|
||||
src = Glob('*.c') + Glob('*.cpp') + Glob('*.a')
|
||||
CPPPATH = [cwd, str(Dir('#'))]
|
||||
|
||||
if not GetDepend('BSP_USING_ETH'):
|
||||
SrcRemove(src, ['drv_eth.c'])
|
||||
if not GetDepend('BSP_USING_SPI'):
|
||||
SrcRemove(src, ['drv_spi.c'])
|
||||
if not GetDepend('BSP_USING_WDT'):
|
||||
SrcRemove(src, ['drv_wdt.c'])
|
||||
if not GetDepend('BSP_USING_BULETOOTH'):
|
||||
SrcRemove(src, ['drv_bluetooth.c'])
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
# build for sub-directory
|
||||
|
||||
Reference in New Issue
Block a user