diff --git a/config/functions b/config/functions index 36fbd057f5..8850e1a5d6 100644 --- a/config/functions +++ b/config/functions @@ -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