Generating LMA for final.elf dynamically

This commit is contained in:
Amit Mahajan
2009-10-20 01:49:38 +05:30
parent 8bb1069553
commit 89a937fc9c
3 changed files with 47 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ env = Environment(CC = 'arm-none-eabi-gcc',
# such as stdarg.h e.g. for variable args, as in printk().
CCFLAGS = ['-g', '-mcpu=arm926ej-s', '-nostdlib', '-ffreestanding', \
'-std=gnu99', '-Wall', '-Werror'],
LINKFLAGS = ['-nostdlib', '-T' + "loader/linker.lds", "-u_start"],
LINKFLAGS = ['-nostdlib', '-T' + join(BUILDDIR, 'loader/linker.lds'), "-u_start"],
ASFLAGS = ['-D__ASSEMBLY__'],
PROGSUFFIX = '.elf',
ENV = {'PATH' : os.environ['PATH']},