mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/options: read distro options if available
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
08bb39012f
commit
cf1ec2e8d9
@ -29,6 +29,11 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
|
||||
. $PROJECT_DIR/$PROJECT/options
|
||||
fi
|
||||
|
||||
# read distro options if available
|
||||
if [ -f "$PROJECT_DIR/options.$DISTRO" ]; then
|
||||
. $PROJECT_DIR/options.$DISTRO
|
||||
fi
|
||||
|
||||
# Need to point to your actual cc
|
||||
# If you have ccache installed, take care that LOCAL_CC don't point to it
|
||||
LOCAL_CC=`which gcc`
|
||||
@ -71,5 +76,10 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux/linux.$TARGET_ARCH.conf $ROOT/package
|
||||
. $HOME/.openelec/$PROJECT/options
|
||||
fi
|
||||
|
||||
# read distro options from $HOME if available
|
||||
if [ -f "$HOME/.openelec/options.$DISTRO" ]; then
|
||||
. $HOME/.openelec/options.$DISTRO
|
||||
fi
|
||||
|
||||
. config/graphic
|
||||
. config/path $1
|
||||
|
Loading…
x
Reference in New Issue
Block a user