summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 018824e)
raw | patch | inline | side by side (parent: 018824e)
author | Christopher Larson <chris_larson@mentor.com> | |
Sat, 17 Dec 2011 15:36:07 +0000 (16:36 +0100) | ||
committer | Koen Kooi <koen@dominion.thruhere.net> | |
Mon, 19 Dec 2011 20:11:50 +0000 (21:11 +0100) |
This currently affects the linux-omap4 build for omap4430-panda.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
recipes-kernel/linux/linux.inc | patch | blob | history |
index 9650e686af85bc5d1ddcb3c492b471fb91bf38b3..e8a754f56bfa4a3a7ba0d47f1b8f0cc65d247c3d 100644 (file)
cd /${KERNEL_IMAGEDEST}; update-alternatives --remove devicetree devicetree-${KERNEL_VERSION} || true
}
+# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
+python () {
+ try:
+ defconfig = bb.fetch2.localpath('file://defconfig', d)
+ except bb.fetch2.FetchError:
+ pass
+ else:
+ if 'CONFIG_KERNEL_LZO=y\n' in open(defconfig).readlines():
+ depends = d.getVar('DEPENDS', False)
+ d.setVar('DEPENDS', depends + ' lzop-native')
+}