mirror of
https://github.com/libretro/Lakka.git
synced 2024-11-30 19:40:59 +00:00
scripts/install: add 'fastinstall' support, thanks to Wintemrute
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4eda189dfd
commit
6cd8c6ad8a
@ -43,6 +43,7 @@ TARGET_ADDONS="$TARGET_IMG/$ADDONS/$ADDON_PATH"
|
||||
ADDON_BUILD="$BUILD/$ADDONS/$1"
|
||||
STAMPS_NOARCH=.stamps
|
||||
STAMPS=$BUILD/.stamps
|
||||
INSTALLSTAMPS=$BUILD/.install
|
||||
DOCS=DOCS
|
||||
TOOLCHAIN=$BUILD/toolchain
|
||||
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
|
||||
|
@ -7,6 +7,16 @@ if [ -z "$1" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
mkdir -p $INSTALLSTAMPS/$1
|
||||
INSTALLSTAMP=$INSTALLSTAMPS/$1/install
|
||||
|
||||
if [ $1 = "image" ]; then
|
||||
rm -rf $INSTALLSTAMPS
|
||||
mkdir -p $INSTALLSTAMPS/image
|
||||
fi
|
||||
|
||||
if [ ! -f $INSTALLSTAMP ]; then
|
||||
|
||||
if [ -f $PKG_DIR/arch ]; then
|
||||
grep -q "$TARGET_ARCH" "$PKG_DIR/arch" || exit 0
|
||||
grep -q "\-$TARGET_ARCH" "$PKG_DIR/arch" && exit 0
|
||||
@ -44,3 +54,6 @@ done
|
||||
if [ -f $PKG_DIR/install ]; then
|
||||
$PKG_DIR/install $@ >&$VERBOSE_OUT
|
||||
fi
|
||||
|
||||
touch $INSTALLSTAMP
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user