mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
config/functions: fix kernel_path()
This commit is contained in:
parent
fcf9a2f96b
commit
88636d5472
@ -56,7 +56,13 @@ setup_toolchain() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kernel_path() {
|
kernel_path() {
|
||||||
ls -d $ROOT/$BUILD/linux-*
|
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
|
||||||
|
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||||
}
|
}
|
||||||
|
|
||||||
tolower(){
|
tolower(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user