mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 19:03:15 +01:00
Added UTCB functions for full ipc that copy buffer or string payloads in secondary message registers. Some posix syscalls now use these utcb functions to copy pathnames.
17 lines
419 B
Python
17 lines
419 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', '-nostdlib', '-Wall', '-Werror', '-ffreestanding', '-std=gnu99'])
|
|
|
|
objects = e.StaticObject(Glob('*.c'))
|
|
libposix = e.StaticLibrary('posix', objects)
|
|
|
|
Return('libposix')
|