2022-10-08 13:35:39 +00:00
|
|
|
#!/usr/bin/env bash
|
2022-10-01 18:59:22 +00:00
|
|
|
|
|
|
|
set -e
|
|
|
|
source $(dirname $0)/env.sh
|
|
|
|
|
|
|
|
cd $LUNA_ROOT
|
|
|
|
|
2022-12-23 09:46:44 +00:00
|
|
|
mkdir -p $LUNA_BASE
|
|
|
|
mkdir -p $LUNA_BASE/usr/include
|
|
|
|
mkdir -p $LUNA_BASE/usr/include/luna
|
2023-08-03 10:19:45 +00:00
|
|
|
mkdir -p $LUNA_BASE/usr/include/ui
|
2023-03-29 16:27:02 +00:00
|
|
|
mkdir -p $LUNA_BASE/usr/include/os
|
2023-08-02 09:56:00 +00:00
|
|
|
mkdir -p $LUNA_BASE/usr/include/moon
|
2022-10-01 18:59:22 +00:00
|
|
|
|
2023-01-25 20:16:20 +00:00
|
|
|
cp --preserve=timestamps -RT libc/include/ $LUNA_BASE/usr/include
|
2023-02-27 14:19:18 +00:00
|
|
|
cp --preserve=timestamps -RT libluna/include/luna/ $LUNA_BASE/usr/include/luna
|
2024-07-21 11:24:46 +00:00
|
|
|
cp --preserve=timestamps -RT gui/libui/include/ui/ $LUNA_BASE/usr/include/ui
|
2023-03-29 16:27:02 +00:00
|
|
|
cp --preserve=timestamps -RT libos/include/os/ $LUNA_BASE/usr/include/os
|
2023-08-02 09:56:00 +00:00
|
|
|
cp --preserve=timestamps -RT kernel/src/api/ $LUNA_BASE/usr/include/moon
|