Build tests and install

This commit is contained in:
Jeremy Soller 2018-11-13 21:24:49 -07:00
parent 607e448598
commit 01f7b16dff
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -2,11 +2,14 @@ GIT=https://gitlab.redox-os.org/redox-os/relibc.git
function recipe_build {
make
make -C tests
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
mkdir -pv "$dest/share/relibc"
cp -rv "tests" "$dest/share/relibc/tests"
skip=1
}