Luna/tools/install-headers.sh
apio 34e6c05cef
All checks were successful
continuous-integration/drone/push Build is passing
Fix it up a bit more
2022-12-23 10:48:00 +01:00

14 lines
304 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/moon
mkdir -p $LUNA_BASE/usr/include/luna
cp -RT kernel/**/*.h $LUNA_BASE/usr/include/moon
cp -RT luna/include/luna/*.h $LUNA_BASE/usr/include/luna