summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-08-29 12:46:38 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-08-29 12:46:38 +0000
commit3d3a28aadb8a66111e337944ed43fd50d1357968 (patch)
treed88d18a41ef9754fe4f87d6053fa2eb32b5b02f2 /classes
parent835ed979cce20205b335cd60510ad3d4db0adc6c (diff)
kernel.bbclass: Allow machines to override the kernel-base runtime dependencies
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 0670da678d..b25275e702 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -179,7 +179,9 @@ FILES = ""
FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"
FILES_kernel-dev = "/boot/System.map* /boot/config*"
RDEPENDS_kernel = "kernel-base"
-RDEPENDS_kernel-base = "kernel-image"
+# Allow machines to override this dependency if kernel image files are
+# not wanted in images as standard
+RDEPENDS_kernel-base ?= "kernel-image"
PKG_kernel-image = "kernel-image-${KERNEL_VERSION}"
PKG_kernel-base = "kernel-${KERNEL_VERSION}"
ALLOW_EMPTY_kernel = "1"