mirror of
https://github.com/drasko/codezero.git
synced 2026-01-27 18:23:13 +01:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
26
conts/userlibs/libmem/SConscript
Normal file
26
conts/userlibs/libmem/SConscript
Normal file
@@ -0,0 +1,26 @@
|
||||
# -*- mode: python; coding: utf-8; -*-
|
||||
|
||||
# Codezero -- a microkernel for embedded systems.
|
||||
#
|
||||
# Copyright © 2009 B Labs Ltd
|
||||
import os, sys
|
||||
|
||||
PROJRELROOT = '../..'
|
||||
sys.path.append(PROJRELROOT)
|
||||
|
||||
from scripts.config.projpaths import *
|
||||
from scripts.config.config_invoke import *
|
||||
|
||||
Import('env')
|
||||
|
||||
e = env.Clone()
|
||||
e.Append(CPPPATH = ['include', '.', LIBL4_INCLUDE])
|
||||
|
||||
objmm = e.StaticObject(Glob('mm/*.c'))
|
||||
objmc = e.StaticObject(Glob('memcache/*.[cS]'))
|
||||
objmalloc = e.StaticObject(Glob('malloc/*.[cS]'))
|
||||
libmem = e.StaticLibrary('mem', objmm + objmc + objmalloc)
|
||||
#libmc = e.StaticLibrary('mc', objmc)
|
||||
#libmalloc = e.StaticLibrary('malloc', objmalloc)
|
||||
|
||||
Return('libmem')
|
||||
Reference in New Issue
Block a user