summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'org.handhelds.familiar/classes/kernel.bbclass')
-rw-r--r--org.handhelds.familiar/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.handhelds.familiar/classes/kernel.bbclass b/org.handhelds.familiar/classes/kernel.bbclass
index 5a2cf77..3065162 100644
--- a/org.handhelds.familiar/classes/kernel.bbclass
+++ b/org.handhelds.familiar/classes/kernel.bbclass
@@ -270,7 +270,7 @@ python populate_packages_prepend () {
m4 = re.match(pattern4, line)
deps[m2.group(1)].extend(m4.group(1).split())
line = f.readline()
- if f.close(): # or not deps:
+ if f.close() or (not deps and not bb.data.getVar("KERNEL_NO_MODULES", d, 1)):
# depmod returned an error or no deps found (very unlikely)
raise bb.build.FuncFailed("Failed to extract module dependencies.")
return deps