OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [SConstruct] - Diff between revs 2 and 5

Show entire file | Details | Blame | View Log

Rev 2 Rev 5
Line 55... Line 55...
                  AR = config.toolchain_kernel + 'ar',
                  AR = config.toolchain_kernel + 'ar',
                  RANLIB = config.toolchain_kernel + 'ranlib',
                  RANLIB = config.toolchain_kernel + 'ranlib',
                  # We don't use -nostdinc because sometimes we need standard headers,
                  # We don't use -nostdinc because sometimes we need standard headers,
                  # such as stdarg.h e.g. for variable args, as in printk().
                  # such as stdarg.h e.g. for variable args, as in printk().
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                             '-Werror', '-march=' + gcc_arch_flag],
                             '-Werror'],
                  LINKFLAGS = ['-nostdlib', '-T' + join(builddir, 'include/l4/arch/arm/linker.lds')],
                  LINKFLAGS = ['-nostdlib', '-T' + join(builddir, 'include/l4/arch/arm/linker.lds')],
                  ASFLAGS = ['-D__ASSEMBLY__', '-march=' + gcc_arch_flag],
                  ASFLAGS = ['-D__ASSEMBLY__'],
                  PROGSUFFIX = '.elf',                  # The suffix to use for final executable
                  PROGSUFFIX = '.elf',                  # The suffix to use for final executable
                  ENV = {'PATH' : os.environ['PATH']},  # Inherit shell path
                  ENV = {'PATH' : os.environ['PATH']},  # Inherit shell path
                  LIBS = 'gcc',                         # libgcc.a - This is required for division routines.
                  LIBS = 'gcc',                         # libgcc.a - This is required for division routines.
                  CPPPATH = ["#include"],
                  CPPPATH = ["#include"],
                  CPPFLAGS = '-include l4/config.h -include l4/macros.h -include l4/types.h -D__KERNEL__')
                  CPPFLAGS = '-include l4/config.h -include l4/macros.h -include l4/types.h -D__KERNEL__')

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.