config: cleanup buildsystem

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-01-27 05:43:37 +01:00
parent 9fde5c056b
commit 3e9bd854d8
2 changed files with 1 additions and 6 deletions

View File

@ -76,9 +76,6 @@ get_build_dir() {
local _PKG_DIR=$(find $ROOT/packages -name $1)
if [ -d $_PKG_DIR -a -f $_PKG_DIR/package.mk ] ; then
. $_PKG_DIR/package.mk
# TODO: remove
elif [ -d $_PKG_DIR -a -f $_PKG_DIR/meta ] ; then
. $_PKG_DIR/meta
fi
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
fi

View File

@ -68,7 +68,7 @@ SED="sed -i"
else
ALL_DIRS="$ALL_DIRS\\n$DIR"
fi
if [ -f "$DIR/package.mk" -o -f "$DIR/meta" -o -f "$DIR/install" -o -f "$DIR/build" ] ; then
if [ -f "$DIR/package.mk" ] ; then
FOUND=$((FOUND+1))
# found first. set $PKG_DIR
PKG_DIR="$DIR"
@ -84,8 +84,6 @@ SED="sed -i"
if [ -r $PKG_DIR/package.mk ]; then
. $PKG_DIR/package.mk
elif [ -r $PKG_DIR/meta ]; then
. $PKG_DIR/meta
fi
if [ "$PKG_IS_ADDON" = "yes" ] ; then