18 lines
525 B
Bash
Executable File
18 lines
525 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
source $(dirname $0)/env.sh
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
mkdir -p $LUNA_BASE
|
|
mkdir -p $LUNA_BASE/usr/include
|
|
mkdir -p $LUNA_BASE/usr/include/luna
|
|
mkdir -p $LUNA_BASE/usr/include/os
|
|
mkdir -p $LUNA_BASE/usr/include/moon
|
|
|
|
cp --preserve=timestamps -RT libc/include/ $LUNA_BASE/usr/include
|
|
cp --preserve=timestamps -RT libluna/include/luna/ $LUNA_BASE/usr/include/luna
|
|
cp --preserve=timestamps -RT libos/include/os/ $LUNA_BASE/usr/include/os
|
|
cp --preserve=timestamps -RT kernel/src/api/ $LUNA_BASE/usr/include/moon
|