From b4de7cce57305033e86c3b187271683b609ddb26 Mon Sep 17 00:00:00 2001 From: "Ming, Bai" Date: Tue, 8 Jan 2013 22:40:58 +0800 Subject: Re-normalizing the repo --- components/drivers/i2c/SConscript | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'components/drivers/i2c/SConscript') diff --git a/components/drivers/i2c/SConscript b/components/drivers/i2c/SConscript index 0607250da4..5e85a645a7 100644 --- a/components/drivers/i2c/SConscript +++ b/components/drivers/i2c/SConscript @@ -1,18 +1,18 @@ -Import('RTT_ROOT') -from building import * - -cwd = GetCurrentDir() -src = Split(""" -i2c_core.c -i2c_dev.c -""") - -if GetDepend('RT_USING_I2C_BITOPS'): - src = src + ['i2c-bit-ops.c'] - -# The set of source files associated with this SConscript file. -path = [cwd + '/../include'] - -group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_I2C'], CPPPATH = path) - -Return('group') +Import('RTT_ROOT') +from building import * + +cwd = GetCurrentDir() +src = Split(""" +i2c_core.c +i2c_dev.c +""") + +if GetDepend('RT_USING_I2C_BITOPS'): + src = src + ['i2c-bit-ops.c'] + +# The set of source files associated with this SConscript file. +path = [cwd + '/../include'] + +group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_I2C'], CPPPATH = path) + +Return('group') -- cgit v1.3.1