config/path:

- hardcode $STAMPS to $BUILD/.stamps
- adding support for ~/.openelec config dir for personal settings
- adding support for ~/.openelec/$PROJECT config dir for personal project settings
This commit is contained in:
Stephan Raue 2010-03-11 01:53:00 +01:00
parent 1c26cbb518
commit 979cb62219

View File

@ -38,7 +38,7 @@ BUILD=$BUILD_BASE.OpenELEC-$PROJECT.$TARGET_ARCH.$OPENELEC_VERSION
[ -n "$TARGET_PLATFORM" ] && BUILD=$BUILD.$TARGET_PLATFORM
PKG_BUILD=$BUILD/$1\[-_][0-9]*
STAMPS_NOARCH=.stamps
STAMPS=$BUILD/$STAMPS_NOARCH
STAMPS=$BUILD/.stamps
DOCS=DOCS
TOOLCHAIN=$BUILD/toolchain
SYSROOT_PREFIX=$ROOT/$TOOLCHAIN/$TARGET_NAME/sysroot
@ -198,6 +198,15 @@ OPENELEC_SRC=http://sources.geexbox.org/src/$OPENELEC_VERSION
VERSION_SUFFIX=$TARGET_ARCH
[ -n "$TARGET_PLATFORM" ] && VERSION_SUFFIX=$TARGET_PLATFORM
# read generic personal options if available
if [ -f ~/.openelec/options ]; then
. ~/.openelec/options
fi
# read project based personal options if available
if [ -f ~/.openelec/$PROJECT/options ]; then
. ~/.openelec/$PROJECT/options
fi
kernel_path() {
ls -d $ROOT/$BUILD/linux*