mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 03:13:15 +01:00
Pull out the toolchains specification as a separate file and extend to cover the new options in the configuration file.
This commit is contained in:
@@ -22,7 +22,7 @@ import os.path
|
||||
Import('environment')
|
||||
|
||||
e = environment.Clone()
|
||||
e['CC'] = e['toolChains'][e['CPU']]['kernelCompiler']
|
||||
e['CC'] = e['toolchains'][e['ARCH']][e['CPU']]['kernelCompiler']
|
||||
e.Append(CPPPATH = ['#' + e['buildDirectory'], '#' + e['buildDirectory'] + '/l4', '#' + e['includeDirectory'], '#' + e['includeDirectory'] + '/l4'])
|
||||
e.Append(LINKFLAGS = ['-T' + e['includeDirectory'] + '/l4/arch/' + e['ARCH'] + '/linker.lds'])
|
||||
####
|
||||
|
||||
Reference in New Issue
Block a user