From 968a0c1ddbfd1bb397cc0865138a02319d79d871 Mon Sep 17 00:00:00 2001
From: Imre Kaloz <kaloz@openwrt.org>
Date: Tue, 5 Oct 2010 14:14:12 +0000
Subject: [PATCH] simplify old squashfs/lzma selection

SVN-Revision: 23244
---
 tools/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tools/Makefile b/tools/Makefile
index 5a5c728ab7..ac4d62c54f 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -19,12 +19,9 @@ tools-y += sstrip ipkg-utils genext2fs libuuid mtd-utils mkimage
 tools-y += firmware-utils patch-cmdline quilt yaffs2
 tools-$(CONFIG_TARGET_orion) += wrt350nv2-builder upslug2
 tools-$(CONFIG_TARGET_x86) += qemu
-ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25),)
+ifneq ($(CONFIG_LINUX_2_4)$(CONFIG_LINUX_2_6_25)$(CONFIG_TARGET_ar71xx),)
 tools-y += squashfs lzma-old
 else
-ifneq ($(CONFIG_TARGET_ar71xx),)
-tools-y += squashfs lzma-old
-endif
 tools-y += squashfs4 lzma
 endif
 tools-$(CONFIG_CCACHE) += ccache
-- 
GitLab