[tools]: simplify old squashfs/lzma selection
authorImre Kaloz <kaloz@openwrt.org>
Tue, 5 Oct 2010 14:14:12 +0000 (14:14 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Tue, 5 Oct 2010 14:14:12 +0000 (14:14 +0000)
SVN-Revision: 23244

tools/Makefile

index 5a5c728ab7819f7aba9a53c483ad8fa6537693b8..ac4d62c54f9ac9e281a4d7bbdac360d89022a0b2 100644 (file)
@@ -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
 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
 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
 tools-y += squashfs4 lzma
 endif
 tools-$(CONFIG_CCACHE) += ccache