mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
add raspi4 lcd driver
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
# RT-Thread building script for component
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c') + Glob('*.cpp')
|
||||
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'])
|
||||
|
||||
group = DefineGroup('driver', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
# build for sub-directory
|
||||
|
||||
Reference in New Issue
Block a user