summaryrefslogtreecommitdiff
path: root/bsp/stm32f10x/drivers/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'bsp/stm32f10x/drivers/SConscript')
-rw-r--r--bsp/stm32f10x/drivers/SConscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/bsp/stm32f10x/drivers/SConscript b/bsp/stm32f10x/drivers/SConscript
index 1629fc691a..c8609944d5 100644
--- a/bsp/stm32f10x/drivers/SConscript
+++ b/bsp/stm32f10x/drivers/SConscript
@@ -32,7 +32,7 @@ if GetDepend('RT_USING_RTC'):
src += ['rtc.c']
# add Ethernet drivers.
-if GetDepend('RT_USING_RTGUI'):
+if GetDepend('PKG_USING_GUIENGINE'):
src += ['touch.c']
if rtconfig.RT_USING_LCD_TYPE == 'ILI932X':
src += ['ili_lcd_general.c']
@@ -43,7 +43,6 @@ if GetDepend('RT_USING_RTGUI'):
if GetDepend('RT_USING_WDT'):
src += ['stm32f1_wdg.c']
-
CPPPATH = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)