20 lines
633 B
Bash
Executable File
20 lines
633 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/ui
|
|
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 libui/include/ui/ $LUNA_BASE/usr/include/ui
|
|
cp --preserve=timestamps -RT libos/include/os/ $LUNA_BASE/usr/include/os
|
|
cp --preserve=timestamps -RT kernel/src/api/ $LUNA_BASE/usr/include/moon
|