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

Subversion Repositories c0or1k

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

Show entire file | Details | Blame | View Log

Rev 2 Rev 5
Line 33... Line 33...
LIBC_INC = join(LIBC_DIR, 'include')
LIBC_INC = join(LIBC_DIR, 'include')
 
 
env = Environment(CC = config.toolchain_userspace + 'gcc',
env = Environment(CC = config.toolchain_userspace + 'gcc',
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', \
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', \
                     '-nostdinc', '-Wall', '-DVARIANT_' + variant.upper(), \
                     '-nostdinc', '-Wall', '-DVARIANT_' + variant.upper(), \
                     '-march=' + gcc_arch_flag, '-Werror'],
                      '-Werror'],
                  LINKFLAGS = ['-nostdlib'],
                  LINKFLAGS = ['-nostdlib'],
                  ASFLAGS = ['-D__ASSEMBLY__'],
                  ASFLAGS = ['-D__ASSEMBLY__'],
                  ENV = {'PATH' : os.environ['PATH']},
                  ENV = {'PATH' : os.environ['PATH']},
                  CPPPATH = ['#include', LIBC_INC, LIBL4_INC, join(PROJROOT,'include')])
                  CPPPATH = ['#include', LIBC_INC, LIBL4_INC, join(PROJROOT,'include')])
 
 

powered by: WebSVN 2.1.0

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