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
SECTION = "kernel"
-DESCRIPTION = "Liux As Bootloader kernelm"
-MAINTAINER = "Koen Kooi <koen@linuxtogo.org>"
+DESCRIPTION = "Linux As Bootloader kernel"
LICENSE = "GPL"
PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${CVSDATE}"
-#!BIG FAT WARNING:
-#build this *before* building your real kernel, otherwise external modules will pickup the wrong headers
-
DEFAULT_PREFERENCE = "-1"
COMPATIBLE_HOST = "arm.*-linux"
inherit kernel
-FILES_kernel-image_h2200 = ""
-ALLOW_EMPTY_kernel-image_h2200 = 1
+KERNEL_NO_MODULES = "1"
K_MAJOR = "2"
K_MINOR = "6"
yes '' | oe_runmake oldconfig
}
+do_stage() {
+ :
+}
+
+python do_package() {
+ return
+}
+
do_deploy() {
install -d ${DEPLOY_DIR}/images
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/LAB-image-${MACHINE}