mirror of
https://github.com/drasko/codezero.git
synced 2026-10-22 02:37:28 +02:00
Removed hard coded values of toolchain and gcc cpu flags
This commit is contained in:
@@ -7,13 +7,16 @@ import glob
|
||||
import sys
|
||||
from os.path import join
|
||||
from string import split
|
||||
from configure import *
|
||||
|
||||
config = configuration_retrieve()
|
||||
|
||||
project_root = "../.."
|
||||
kernel_headers = join(project_root, "include")
|
||||
l4lib_headers = join(project_root, "tasks/libl4/include")
|
||||
config_h = join(project_root, "include/l4/config.h")
|
||||
|
||||
env = Environment(CC = 'arm-none-linux-gnueabi-gcc',
|
||||
env = Environment(CC = config.user_toolchain + 'gcc',
|
||||
CCFLAGS = ['-g', '-std=gnu99', '-nostdlib', '-ffreestanding'],
|
||||
LINKFLAGS = ['-nostdlib'],
|
||||
CPPPATH = ['#include'],
|
||||
|
||||
Reference in New Issue
Block a user