From 4394096a92ff9203385af1d95766fb32e42a6649 Mon Sep 17 00:00:00 2001
From: kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 5 Oct 2010 14:14:12 +0000
Subject: [tools]: simplify old squashfs/lzma selection

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23244 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 tools/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'tools/Makefile')

diff --git a/tools/Makefile b/tools/Makefile
index 5a5c728ab..ac4d62c54 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
-- 
cgit v1.2.3