libl4thread skeleton is introduced.

With this library, it is aimed at easing thread manipulation, utcb handling etc.
This commit is contained in:
Bora Sahin
2009-10-29 22:00:38 +02:00
parent 69a09ea514
commit 00adcd9afa
4 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
# -*- mode: python; coding: utf-8; -*-
#
# Codezero -- Virtualization microkernel for embedded systems.
#
# Copyright © 2009 B Labs Ltd
import os, sys
# Get global paths
PROJRELROOT = '../..'
sys.path.append(PROJRELROOT)
from config.projpaths import *
Import('env')
e = env.Clone()
e.Append(CPPPATH = ['include/l4thread'])
source = [Glob('*.[cS]') + Glob('src/*.[cS]')]
objects = e.StaticObject(source)
library = e.StaticLibrary('l4thread', objects)
Return('library')