mirror of
https://github.com/drasko/codezero.git
synced 2026-03-11 23:03:15 +01:00
Move the linker scripts out of the header file directory.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
/* USER_AREA_START, see memlayout.h */
|
||||
virtual_base = 0x10000000;
|
||||
__stack = (0x20000000 - 0x1000 - 8); /* First page before env/args page */
|
||||
INCLUDE "include/physical_base.lds"
|
||||
INCLUDE "physical_base.lds"
|
||||
|
||||
/* physical_base = 0x228000; */
|
||||
offset = virtual_base - physical_base;
|
||||
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
/* INITTASK_AREA_START, see memlayout.h */
|
||||
virtual_base = 0xE0000000;
|
||||
INCLUDE "include/physical_base.lds"
|
||||
INCLUDE "physical_base.lds"
|
||||
|
||||
/* physical_base = 0x228000; */
|
||||
pager_offset = virtual_base - physical_base;
|
||||
@@ -75,7 +75,7 @@ def createTestExecS(target, source, env):
|
||||
|
||||
testTaskEnvironment = environment.Clone()
|
||||
testTaskEnvironment.Append(CPPPATH=['#' + testTaskEnvironment['posixServicesDirectory'] +'/libposix/include/posix'])
|
||||
testExecLinkerScript = Command('#build/' + testTaskEnvironment['posixServicesDirectory'] +'/' + taskName + '/include/test_exec_linker.lds', testTaskEnvironment['physicalBaseLinkerScript'], createTestExecLinkerScript)
|
||||
testExecLinkerScript = Command('#build/' + testTaskEnvironment['posixServicesDirectory'] +'/' + taskName + '/test_exec_linker.lds', testTaskEnvironment['physicalBaseLinkerScript'], createTestExecLinkerScript)
|
||||
testExecEnvironment = testTaskEnvironment.Clone()
|
||||
testExecEnvironment.Append(LINKFLAGS=['-T' + testExecLinkerScript[0].path])
|
||||
testExec = testExecEnvironment.Program('test_exec', Glob('src/test_exec/*.[cS]'))
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/* USER_AREA_START, see memlayout.h */
|
||||
virtual_base = 0x10000000;
|
||||
__stack = (0x20000000 - 0x1000 - 8); /* First page before the env/args */
|
||||
INCLUDE "include/physical_base.lds"
|
||||
INCLUDE "physical_base.lds"
|
||||
|
||||
/* physical_base = 0x228000; */
|
||||
offset = virtual_base - physical_base;
|
||||
Reference in New Issue
Block a user