mirror of
https://github.com/drasko/codezero.git
synced 2026-04-18 01:39:05 +02:00
Make the coding style more consistent with PEP-8.
This commit is contained in:
@@ -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*')]
|
||||||
|
|||||||
@@ -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' )
|
|
||||||
|
|||||||
Reference in New Issue
Block a user