mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 05:14:18 +08:00
Recipe cleanups
This commit is contained in:
parent
e5b2d755a6
commit
cb6e329030
@ -31,6 +31,6 @@ function recipe_clean {
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
ln -s "dash" "$1/bin/sh"
|
||||
ln -s "dash" "$dest/bin/sh"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ function recipe_clean {
|
||||
function recipe_stage {
|
||||
dest="$(realpath $1)"
|
||||
make DESTDIR="$dest" install
|
||||
${HOST}-strip "$1"/bin/*
|
||||
rm -rf "$1"/{lib,share}
|
||||
${HOST}-strip "$dest"/bin/*
|
||||
rm -rf "$dest"/{lib,share}
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -26,7 +26,8 @@ function recipe_build {
|
||||
--enable-fcmp=cli \
|
||||
--with-sdl-prefix="$sysroot" \
|
||||
ac_cv_lib_SDL_image_IMG_Load=yes \
|
||||
ac_cv_lib_SDL_ttf_TTF_OpenFont=yes
|
||||
ac_cv_lib_SDL_ttf_TTF_OpenFont=yes \
|
||||
ac_cv_lib_SDL_gfx_rotozoomSurface=yes
|
||||
make -j"$(nproc)" V=1
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user