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

Subversion Repositories c0or1k

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

Show entire file | Details | Blame | View Log

Rev 2 Rev 5
Line 32... Line 32...
LIBL4_INCLUDE = join(LIBL4_DIR, 'include')
LIBL4_INCLUDE = join(LIBL4_DIR, 'include')
 
 
# This does not work, need to check
# This does not work, need to check
test_env = Environment(CC = config.toolchain_userspace + 'gcc',
test_env = Environment(CC = config.toolchain_userspace + 'gcc',
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                  CCFLAGS = ['-g', '-nostdlib', '-ffreestanding', '-std=gnu99', '-Wall', \
                     '-nostdinc', '-Werror', '-march=' + gcc_arch_flag],
                     '-nostdinc', '-Werror'],
                  ENV = {'PATH' : os.environ['PATH']},
                  ENV = {'PATH' : os.environ['PATH']},
                  LIBS = ['mm', 'km', 'mc'],
                  LIBS = ['mm', 'km', 'mc'],
                  LIBPATH = ['#'],
                  LIBPATH = ['#'],
                  CPPPATH = ['#include', join(PROJRELROOT, "include"), "#", LIBL4_INCLUDE])
                  CPPPATH = ['#include', join(PROJRELROOT, "include"), "#", LIBL4_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', \
                       '-Wall', '-Werror', '-march=' + gcc_arch_flag],
                       '-Wall', '-Werror'],
            LINKFLAGS = ['-nostdlib'],
            LINKFLAGS = ['-nostdlib'],
            ASFLAGS = ['-D__ASSEMBLY__'],
            ASFLAGS = ['-D__ASSEMBLY__'],
            ENV = {'PATH' : os.environ['PATH']},
            ENV = {'PATH' : os.environ['PATH']},
            LIBS = 'gcc',
            LIBS = 'gcc',
            CPPPATH = ['.', join(PROJROOT, 'include'), LIBL4_INCLUDE])
            CPPPATH = ['.', join(PROJROOT, 'include'), LIBL4_INCLUDE])

powered by: WebSVN 2.1.0

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