mirror of
https://github.com/drasko/codezero.git
synced 2026-03-27 22:39:02 +01:00
Mods for improvements
This commit is contained in:
@@ -6,11 +6,10 @@
|
||||
|
||||
import os, sys, shelve
|
||||
|
||||
PROJROOT="../../../"
|
||||
cwd = os.getcwd()
|
||||
os.chdir(PROJROOT)
|
||||
execfile("configure.py")
|
||||
os.chdir(cwd)
|
||||
arch = 'arm'
|
||||
subarch = 'v5'
|
||||
platform = 'pb926'
|
||||
variant = "baremetal"
|
||||
|
||||
env = Environment(CC = 'arm-none-eabi-gcc',
|
||||
# We don't use -nostdinc because sometimes we need standard headers,
|
||||
@@ -24,15 +23,6 @@ env = Environment(CC = 'arm-none-eabi-gcc',
|
||||
LIBS = 'gcc', # libgcc.a - This is required for division routines.
|
||||
CPPPATH = "#include")
|
||||
|
||||
config_shelve = shelve.open(CONFIG_SHELVE)
|
||||
#symbols = config_shelve["config_symbols"]
|
||||
arch = config_shelve["arch"]
|
||||
subarch = config_shelve["subarch"]
|
||||
platform = config_shelve["platform"]
|
||||
all_syms = config_shelve["all_symbols"]
|
||||
|
||||
variant = "baremetal"
|
||||
|
||||
e = env.Clone()
|
||||
e.Append(CPPPATH = ['include/sys-' + variant + '/arch-' + arch])
|
||||
e.Append(CCFLAGS = '-nostdinc')
|
||||
|
||||
Reference in New Issue
Block a user