summaryrefslogtreecommitdiff
path: root/components/drivers/spi/SConscript
diff options
context:
space:
mode:
authorweety <[email protected]>2016-05-31 20:23:32 +0800
committerweety <[email protected]>2016-05-31 20:23:32 +0800
commit94e1935f1f2149f4e98098fbd171c3e96acb0e14 (patch)
treec775db6b6c5fdc5c6ae811b44a5791af40784e2a /components/drivers/spi/SConscript
parent714f00679eed2c8d1e758c768cf7af57944a5f08 (diff)
parentc8cfc14b82c633c7153113ac1f753695254d4bd6 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into fixed
Diffstat (limited to 'components/drivers/spi/SConscript')
-rw-r--r--components/drivers/spi/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript
index 1047b8839a..e2baf6bab1 100644
--- a/components/drivers/spi/SConscript
+++ b/components/drivers/spi/SConscript
@@ -21,6 +21,9 @@ if GetDepend('RT_USING_AT45DBXX'):
if GetDepend('RT_USING_SST25VFXX'):
src_device += ['spi_flash_sst25vfxx.c']
+if GetDepend('RT_USING_GD'):
+ src_device += ['spi_flash_gd.c']
+
src += src_device
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_SPI'], CPPPATH = CPPPATH)