summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-06-13 13:29:07 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-13 13:29:07 +0100
commitbe0c04d10f6250f8b774a2b53665f93f7dd41c7b (patch)
tree925ce138485f649d4bc852295e2bb0a21a2643c7
parentd67a0e110187abd560a1de63fa172894a52839d5 (diff)
downloadlinux-be0c04d10f6250f8b774a2b53665f93f7dd41c7b.tar.gz
morphs: compress wandboard kernel with gzip
The lzo available to this build is the lzo from busybox, which doesn't support the high-compression mode that Linux requires. We can work around this, by changing the kernel from being lzo compressed to gzip compressed.
-rw-r--r--linux-armv7-wandboard.morph6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-armv7-wandboard.morph b/linux-armv7-wandboard.morph
index 7d297463b759..4b72aae689f7 100644
--- a/linux-armv7-wandboard.morph
+++ b/linux-armv7-wandboard.morph
@@ -2,6 +2,12 @@ name: linux-armv7-wandboard
kind: chunk
configure-commands:
- make ARCH=arm imx_v6_v7_defconfig
+# Our lzo comes from busybox, which is missing features linux requires
+# for lzo compressed kernels. This comes from the defconfig, so we should
+# fix this here.
+- scripts/config -d KERNEL_LZO
+- scripts/config -e KERNEL_GZIP
+
- scripts/config -e NAMESPACES
- scripts/config -e PACKET
- scripts/config -e SATA_AHCI