diff --git a/libcpu/SConscript b/libcpu/SConscript index 774e7f4043..6092707e6d 100644 --- a/libcpu/SConscript +++ b/libcpu/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) if rtconfig.ARCH in list: - group = group + SConscript(os.path.join(cwd, rtconfig.ARCH, 'SConscript')) + group = group + SConscript(os.path.join(rtconfig.ARCH, 'SConscript')) Return('group') diff --git a/libcpu/arc/SConscript b/libcpu/arc/SConscript index cbec0b5ec1..3c69b578fa 100644 --- a/libcpu/arc/SConscript +++ b/libcpu/arc/SConscript @@ -9,9 +9,9 @@ cwd = GetCurrentDir() group = [] # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/arm/SConscript b/libcpu/arm/SConscript index 36a214327b..f6ea13fb91 100644 --- a/libcpu/arm/SConscript +++ b/libcpu/arm/SConscript @@ -5,14 +5,12 @@ from building import * Import('rtconfig') -cwd = GetCurrentDir() -group = [] -list = os.listdir(cwd) +cwd = GetCurrentDir() # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/avr32/SConscript b/libcpu/avr32/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/avr32/SConscript +++ b/libcpu/avr32/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/blackfin/SConscript b/libcpu/blackfin/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/blackfin/SConscript +++ b/libcpu/blackfin/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/c-sky/SConscript b/libcpu/c-sky/SConscript index 36a214327b..640e46a4fb 100644 --- a/libcpu/c-sky/SConscript +++ b/libcpu/c-sky/SConscript @@ -10,9 +10,9 @@ group = [] list = os.listdir(cwd) # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/m16c/SConscript b/libcpu/m16c/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/m16c/SConscript +++ b/libcpu/m16c/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/mips/SConscript b/libcpu/mips/SConscript index 36a214327b..640e46a4fb 100644 --- a/libcpu/mips/SConscript +++ b/libcpu/mips/SConscript @@ -10,9 +10,9 @@ group = [] list = os.listdir(cwd) # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/nios/SConscript b/libcpu/nios/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/nios/SConscript +++ b/libcpu/nios/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/ppc/SConscript b/libcpu/ppc/SConscript index 36a214327b..640e46a4fb 100644 --- a/libcpu/ppc/SConscript +++ b/libcpu/ppc/SConscript @@ -10,9 +10,9 @@ group = [] list = os.listdir(cwd) # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/risc-v/SConscript b/libcpu/risc-v/SConscript index 36a214327b..640e46a4fb 100644 --- a/libcpu/risc-v/SConscript +++ b/libcpu/risc-v/SConscript @@ -10,9 +10,9 @@ group = [] list = os.listdir(cwd) # add common code files -group = group + SConscript(os.path.join(cwd, 'common', 'SConscript')) +group = group + SConscript(os.path.join('common', 'SConscript')) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/sim/SConscript b/libcpu/sim/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/sim/SConscript +++ b/libcpu/sim/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/ti-dsp/SConscript b/libcpu/ti-dsp/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/ti-dsp/SConscript +++ b/libcpu/ti-dsp/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/unicore32/SConscript b/libcpu/unicore32/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/unicore32/SConscript +++ b/libcpu/unicore32/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/v850/SConscript b/libcpu/v850/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/v850/SConscript +++ b/libcpu/v850/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group') diff --git a/libcpu/xilinx/SConscript b/libcpu/xilinx/SConscript index ebdd1357ee..4f1441895c 100644 --- a/libcpu/xilinx/SConscript +++ b/libcpu/xilinx/SConscript @@ -10,6 +10,6 @@ group = [] list = os.listdir(cwd) # cpu porting code files -group = group + SConscript(os.path.join(cwd, rtconfig.CPU, 'SConscript')) +group = group + SConscript(os.path.join(rtconfig.CPU, 'SConscript')) Return('group')