Make the coding style more consistent with PEP-8.

This commit is contained in:
Russel Winder
2009-08-05 11:15:26 +01:00
parent a14ff1be5c
commit 8b9b254f6c
20 changed files with 212 additions and 213 deletions

View File

@@ -124,7 +124,7 @@ else :
CC = 'arm-none-linux-gnueabi-gcc', CC = 'arm-none-linux-gnueabi-gcc',
CCFLAGS = ['-g', '-nostdinc', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', '-Werror'], CCFLAGS = ['-g', '-nostdinc', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', '-Werror'],
LINKFLAGS = ['-nostdlib'], LINKFLAGS = ['-nostdlib'],
LIBS = 'gcc' , LIBS = ['gcc'],
ARCH = arch, ARCH = arch,
PLATFORM = platform) PLATFORM = platform)
@@ -152,7 +152,7 @@ else :
LINKFLAGS = ['-nostdlib', '-T' + includeDirectory + '/l4/arch/' + arch + '/mylink.lds'], LINKFLAGS = ['-nostdlib', '-T' + includeDirectory + '/l4/arch/' + arch + '/mylink.lds'],
ASFLAGS = ['-D__ASSEMBLY__'], ASFLAGS = ['-D__ASSEMBLY__'],
PROGSUFFIX = '.axf', PROGSUFFIX = '.axf',
LIBS = 'gcc' , LIBS = ['gcc'],
CPPPATH = ['#' + buildDirectory, '#' + buildDirectory + '/l4', '#' + includeDirectory, '#' + includeDirectory + '/l4'], CPPPATH = ['#' + buildDirectory, '#' + buildDirectory + '/l4', '#' + includeDirectory, '#' + includeDirectory + '/l4'],
#### ####
@@ -176,7 +176,7 @@ else :
CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', '-Werror'], CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', '-Werror'],
LINKFLAGS = ['-nostdlib'], LINKFLAGS = ['-nostdlib'],
ASFLAGS = ['-D__ASSEMBLY__'], ASFLAGS = ['-D__ASSEMBLY__'],
LIBS = 'gcc' , LIBS = ['gcc'],
CPPPATH = ['#' + buildDirectory, '#' + buildDirectory + '/l4', '#' + includeDirectory]) CPPPATH = ['#' + buildDirectory, '#' + buildDirectory + '/l4', '#' + includeDirectory])
taskLibraryNames = [f.name for f in Glob('tasks/lib*')] taskLibraryNames = [f.name for f in Glob('tasks/lib*')]

View File

@@ -24,7 +24,6 @@ e.Append ( CPPPATH = [ 'include' , '#libs/c/include' , '#libs/c/include/arch/' +
objects = e.StaticObject(Glob('src/*.c')) objects = e.StaticObject(Glob('src/*.c'))
Depends(objects, e['configFiles']) Depends(objects, e['configFiles'])
library = e.StaticLibrary('elf', objects)
result = e.StaticLibrary ( 'elf' , objects ) Return('library')
Return ( 'result' )