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

@@ -17,17 +17,17 @@
#
# Author: Russel Winder
Import ( 'environment' )
Import('environment')
e = environment.Clone ( )
e.Append ( CPPPATH = [ 'include' , 'include/posix' , '#tasks/libl4/include' ] )
e = environment.Clone()
e.Append(CPPPATH = ['include', 'include/posix', '#tasks/libl4/include'])
# TODO: There are errors in this code that -Werror gives problems with.
e['CCFLAGS'] = [ '-g' , '-nostdlib' , '-Wall' , '-ffreestanding' , '-std=gnu99' ]
e['CCFLAGS'] = ['-g', '-nostdlib', '-Wall', '-ffreestanding', '-std=gnu99']
objects = e.StaticObject ( Glob ( '*.c' ) )
Depends ( objects , e['configFiles'] )
library = e.StaticLibrary ( 'posix' , objects )
objects = e.StaticObject(Glob('*.c'))
Depends(objects, e['configFiles'])
library = e.StaticLibrary('posix', objects)
Return ( 'library' )
Return('library')