mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/functions: add get_module_dir()
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
2c9da84623
commit
7c1d6e4af9
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user