git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bb4b87
)
linux-kexecboot.inc: Sometimes add lzma-native to DEPENDS
author
Tom Rini
<tom_rini@mentor.com>
Mon, 28 Feb 2011 20:39:19 +0000
(13:39 -0700)
committer
Tom Rini
<tom_rini@mentor.com>
Mon, 28 Feb 2011 20:40:14 +0000
(13:40 -0700)
Using the same logic that switches on lzma compression add
lzma-native to DEPENDS.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/linux/linux-kexecboot.inc
patch
|
blob
|
history
diff --git
a/recipes/linux/linux-kexecboot.inc
b/recipes/linux/linux-kexecboot.inc
index
40f41d6
..
e3dde6a
100644
(file)
--- a/
recipes/linux/linux-kexecboot.inc
+++ b/
recipes/linux/linux-kexecboot.inc
@@
-50,6
+50,7
@@
def kernel_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
# force lzma compression for kernel (linux-kexecboot >= 2.6.32)
# force lzma compression for initramfs (linux-kexecboot >= 2.6.30)
+DEPENDS += '${@kernel_version_less_or_equal("PV", "2.6.29", "", "lzma-native", d)}'
KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.31", "", "CONFIG_KERNEL_LZMA=y", d)}'