mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Loader building from top-level SConstruct.loader
Need to add libc and libelf to it as well.
This commit is contained in:
24
loader/SConscript
Normal file
24
loader/SConscript
Normal 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')
|
||||
Reference in New Issue
Block a user