Loader building from top-level SConstruct.loader

Need to add libc and libelf to it as well.
This commit is contained in:
Bahadir Balban
2009-09-14 17:57:14 +03:00
parent 48351450a6
commit 15f12ce38f
3 changed files with 69 additions and 42 deletions

24
loader/SConscript Normal file
View File

@@ -0,0 +1,24 @@
# -*- mode: python; coding: utf-8; -*-
#
# Codezero -- a microkernel for embedded systems.
#
# Copyright © 2009 B Labs Ltd
import os, sys, shelve
from os.path import join
Import('env')
# Get global paths
PROJRELROOT = '../'
sys.path.append(PROJRELROOT)
e = env.Clone()
src = Glob('*.[cS]')
objs = e.Object(src)
Return('objs')