mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/build: dont create $PKG_BUILD for virtual packages
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
38b5e5c8a1
commit
5587ec51dd
@ -50,11 +50,6 @@ STAMP=$STAMPS/$PACKAGE_NAME/build_$TARGET
|
||||
|
||||
$SCRIPTS/unpack $PACKAGE_NAME
|
||||
|
||||
# ensure $PKG_BUILD is there. (installer? PKG_URL="")
|
||||
if [ ! -d $PKG_BUILD ] ; then
|
||||
mkdir $PKG_BUILD
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/package.mk ]; then
|
||||
if [ -f $STAMP -a $PKG_DIR/package.mk -nt $STAMP ]; then
|
||||
rm -f $STAMP
|
||||
@ -268,6 +263,11 @@ if [ ! -f $STAMP ]; then
|
||||
pre_build_$TARGET
|
||||
fi
|
||||
|
||||
# ensure $PKG_BUILD is there. (installer? PKG_URL="")
|
||||
if [ ! -d $PKG_BUILD ] ; then
|
||||
mkdir -p $PKG_BUILD
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
|
||||
if [ "$TARGET" = "target" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user