mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 01:03:14 +01:00
Added posix code
This commit is contained in:
16
conts/posix/libposix/SConscript
Normal file
16
conts/posix/libposix/SConscript
Normal file
@@ -0,0 +1,16 @@
|
||||
# -*- 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', '-nostdlib', '-Wall', '-ffreestanding', '-std=gnu99'])
|
||||
|
||||
objects = e.StaticObject(Glob('*.c'))
|
||||
libposix = e.StaticLibrary('posix', objects)
|
||||
|
||||
Return('libposix')
|
||||
Reference in New Issue
Block a user