mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
config/functions: add get_module_dir()
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -65,6 +65,11 @@ kernel_version() {
|
||||
echo ${PKG_VERSION}
|
||||
}
|
||||
|
||||
# get kernel module dir
|
||||
get_module_dir() {
|
||||
basename $(ls -d $(get_build_dir linux)/.install_pkg/lib/modules/*)
|
||||
}
|
||||
|
||||
# get package's build dir
|
||||
get_build_dir() {
|
||||
if [ ! -z $1 ] ; then
|
||||
|
||||
Reference in New Issue
Block a user