mirror of
https://github.com/drasko/codezero.git
synced 2026-01-24 08:43:15 +01:00
Various changes post sorting out some of the issues regarding task ordering.
test0 cannot be the first task in the list as it must have a prior physical_base.lds in order to create test_exec_linker.lds. mm0 appears to have to precede fs0 for the tests to execute on start. This should be considered a bug.
This commit is contained in:
@@ -36,6 +36,16 @@ def createTestExecS(target, source, env):
|
||||
.align 4
|
||||
''' % ( source[0].path ))
|
||||
|
||||
try:
|
||||
environment['physicalBaseLinkerScript']
|
||||
except KeyError:
|
||||
print '''
|
||||
####
|
||||
#### The test0 task cannot be the first task in the list of tasks.
|
||||
####
|
||||
'''
|
||||
Exit ( 1 )
|
||||
|
||||
testTaskEnvironment = environment.Clone()
|
||||
testTaskEnvironment.Append(CPPPATH=['#' + testTaskEnvironment['posixServicesDirectory'] +'/libposix/include/posix'])
|
||||
testExecLinkerScript = Command('#build/' + testTaskEnvironment['posixServicesDirectory'] +'/' + taskName + '/test_exec_linker.lds', ['test_exec_linker.lds.in', testTaskEnvironment['physicalBaseLinkerScript']], createTestExecLinkerScript)
|
||||
|
||||
Reference in New Issue
Block a user