All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine.
@ 2011-12-19 16:15 Koen Kooi
  2011-12-19 16:15 ` [PATCH 2/5] ti-xdctools: update to 3.23.00.32 Koen Kooi
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Koen Kooi @ 2011-12-19 16:15 UTC (permalink / raw)
  To: meta-ti; +Cc: Christopher Larson

From: Christopher Larson <chris_larson@mentor.com>

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>
---
 recipes-kernel/linux/linux.inc |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index 9650e68..e8a754f 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -264,3 +264,14 @@ pkg_postrm_kernel-devicetree () {
 	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')
+}
-- 
1.7.2.5



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-12-27  3:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 16:15 [PATCH 1/5] linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine Koen Kooi
2011-12-19 16:15 ` [PATCH 2/5] ti-xdctools: update to 3.23.00.32 Koen Kooi
2011-12-19 19:40   ` Denys Dmytriyenko
2011-12-27  3:00   ` Peter Bigot
2011-12-19 16:15 ` [PATCH 3/5] ti-dspbios: update to 5.41.11.38 Koen Kooi
2011-12-19 19:41   ` Denys Dmytriyenko
2011-12-19 16:15 ` [PATCH 4/5] ti-ipc: update to 1_24_00_16 Koen Kooi
2011-12-19 19:42   ` Denys Dmytriyenko
2011-12-19 16:15 ` [PATCH 5/5] ti-sysbios: add 6.33.00.19 Koen Kooi
2011-12-19 19:42   ` Denys Dmytriyenko
2011-12-19 19:37 ` [PATCH 1/5] linux.inc: If the kernel has CONFIG_KERNEL_LZO=y, it may well attempt to use the 'lzop' utility to do the lzo compression, but we should not be relying on that utility being installed on the build machine Denys Dmytriyenko
2011-12-19 23:22 ` Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.