summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-enea/linx/linx-mod_2.6.6.bb4
1 files changed, 1 insertions, 3 deletions
diff --git a/recipes-enea/linx/linx-mod_2.6.6.bb b/recipes-enea/linx/linx-mod_2.6.6.bb
index 18adef9..837fc3a 100644
--- a/recipes-enea/linx/linx-mod_2.6.6.bb
+++ b/recipes-enea/linx/linx-mod_2.6.6.bb
@@ -23,9 +23,7 @@ inherit module
23 23
24module_do_compile_prepend () { 24module_do_compile_prepend () {
25 25
26 HAS_LOADABLE_MODULES=$(cat ${STAGING_KERNEL_DIR}/.config | grep "CONFIG_MODULES=y") 26 if [ -z $(cat ${STAGING_KERNEL_BUILDDIR}/.config | grep "CONFIG_MODULES=y") ] ; then
27
28 if [[ ${#HAS_LOADABLE_MODULES} -eq 0 ]] ; then
29 echo "The specified Linux kernel has no support for pluggable modules (CONFIG_MODULES=y). Enable it before baking this." 27 echo "The specified Linux kernel has no support for pluggable modules (CONFIG_MODULES=y). Enable it before baking this."
30 exit 1 28 exit 1
31 fi 29 fi