scripts/checkdeps: allow project specific deps

projects can define EXTRA_DEPS and EXTRA_DEPS_PKG in projects/xxx/options
This commit is contained in:
Stefan Saraev 2015-01-11 22:24:49 +02:00
parent 3c730974fd
commit 080bf124b2

View File

@ -48,6 +48,14 @@ case $1 in
;;
esac
# project specific dependencies
if [ -n "$EXTRA_DEPS" ] ; then
deps="$deps $EXTRA_DEPS"
fi
if [ -n "$EXTRA_DEPS_PKG" ] ; then
deps_pkg="$deps_pkg $EXTRA_DEPS_PKG"
fi
getarg() {
eval echo \${$(($1+2))}
}