mirror of
https://github.com/drasko/codezero.git
synced 2026-04-17 17:29:04 +02:00
Mods for improvements
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# -*- mode: python; coding: utf-8; -*-
|
||||
|
||||
#
|
||||
# Codezero -- a microkernel for embedded systems.
|
||||
#
|
||||
# Copyright © 2009 B Labs Ltd
|
||||
|
||||
@@ -5,22 +5,13 @@
|
||||
# Copyright © 2009 B Labs Ltd
|
||||
|
||||
import os, sys, shelve
|
||||
from os.path import join
|
||||
|
||||
arch = 'arm'
|
||||
platform = 'pb926'
|
||||
|
||||
# Get global paths
|
||||
PROJRELROOT="../../../"
|
||||
cwd = os.getcwd()
|
||||
os.chdir(PROJRELROOT)
|
||||
execfile("configure.py")
|
||||
os.chdir(cwd)
|
||||
|
||||
# Get configuration information
|
||||
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"]
|
||||
|
||||
|
||||
# Locally important paths are here
|
||||
LIBC_PATH = '../c'
|
||||
|
||||
Reference in New Issue
Block a user