Files
codezero/conts/posix/libposix/SConscript
2010-03-25 01:12:40 +02:00

18 lines
475 B
Python

# -*- mode: python; coding: utf-8; -*-
# Codezero -- A Virtualization microkernel for embedded systems.
#
# Copyright © 2009 B Labs Ltd
Import('env')
e = env.Clone()
e.Append(CPPPATH = ['include', 'include/posix'])
e.Replace(CCFLAGS = ['-g','-nostdinc', '-nostdlib', '-Wall', '-Werror', '-ffreestanding', '-std=gnu99'],
CPPFLAGS = ' -include l4lib/macros.h ')
objects = e.StaticObject(Glob('*.c'))
libposix = e.StaticLibrary('posix', objects)
Return('libposix')