aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorZoltan HERPAI <wigyori@uid0.hu>2018-06-13 10:51:50 +0200
committerMathias Kresin <dev@kresin.me>2018-06-16 10:08:51 +0200
commit3e0489dcd91faa3954a05e3fcdaf5de2d1892e67 (patch)
tree6e85abbcfbc512fa16a2e8c72bbd40f114cab355 /tools
parent8956eb502df2d3e40a1c83a46d2781e732f08910 (diff)
downloadupstream-3e0489dcd91faa3954a05e3fcdaf5de2d1892e67.tar.gz
upstream-3e0489dcd91faa3954a05e3fcdaf5de2d1892e67.tar.bz2
upstream-3e0489dcd91faa3954a05e3fcdaf5de2d1892e67.zip
tools: build squashfs (v3) for ath79
Certain Netgear and AVM devices use BE squashfs for the kernel image. As squashfs4 only supports creating LE images, add squashfs (v3) into the tools to be built for ath79. Trying to use an LE squashfs (thus trying to use squashfs4 only for building the image) for the kernel image results in the bootloader barfing and stopping. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index d2b5daf18c..9a354f6c70 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -30,7 +30,8 @@ tools-y += mtools dosfstools libressl
tools-$(CONFIG_TARGET_orion_generic) += wrt350nv2-builder upslug2
tools-$(CONFIG_TARGET_x86) += qemu
tools-$(CONFIG_TARGET_mxs) += elftosb sdimage
-tools-$(CONFIG_TARGET_ar71xx) += lzma-old squashfs
+tools-$(CONFIG_TARGET_ar71xx) += lzma-old
+tools-$(CONFIG_TARGET_ar71xx)$(CONFIG_TARGET_ath79) += squashfs
tools-$(CONFIG_USES_MINOR) += kernel2minor
tools-y += lzma squashfs4
tools-$(BUILD_B43_TOOLS) += b43-tools