buildsystem: clean up

This commit is contained in:
Stefan Saraev 2014-01-05 22:05:28 +02:00
parent 9a838d7c38
commit f12dc0f194
2 changed files with 2 additions and 8 deletions

View File

@ -56,12 +56,7 @@ setup_toolchain() {
}
kernel_path() {
if [ -f $ROOT/packages/linux/package.mk ] ; then
. $ROOT/packages/linux/package.mk
elif [ -f $ROOT/packages/linux/meta ] ; then
# TODO: remove
. $ROOT/packages/linux/meta
fi
. $ROOT/packages/linux/package.mk
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
}

View File

@ -19,8 +19,7 @@ fi
ROOT=`pwd`
PROJECT_DIR="$ROOT/projects"
# TODO: remove $ROOT/packages/linux/meta
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/meta $ROOT/packages/linux/package.mk"
LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/packages/linux/package.mk"
# include versioning
. config/version