mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/functions: add function 'kernel_version'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
82ed6edd4c
commit
6963eb7bda
@ -65,6 +65,11 @@ kernel_path() {
|
|||||||
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
|
echo $ROOT/$BUILD/${PKG_NAME}-${PKG_VERSION}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
kernel_version() {
|
||||||
|
. $ROOT/packages/linux/package.mk
|
||||||
|
echo ${PKG_VERSION}
|
||||||
|
}
|
||||||
|
|
||||||
# get package's build dir
|
# get package's build dir
|
||||||
get_build_dir() {
|
get_build_dir() {
|
||||||
if [ ! -z $1 ] ; then
|
if [ ! -z $1 ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user