From bf277dd79e883f65bfe836f2c09a4d8558474895 Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sun, 9 Mar 2008 21:22:23 +0000
Subject: only build dtc for the target that uses it

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

(limited to 'tools')

diff --git a/tools/Makefile b/tools/Makefile
index a73a79fcc..e1f5d8c0b 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -9,7 +9,7 @@
 curdir:=tools
 
 # subdirectories to descend into
-$(curdir)/builddirs := sed sstrip ipkg-utils genext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline pkg-config automake $(if $(CONFIG_CCACHE),ccache) bison dtc
+$(curdir)/builddirs := sed sstrip ipkg-utils genext2fs squashfs mtd-utils lzma mkimage firmware-utils patch-cmdline pkg-config automake $(if $(CONFIG_CCACHE),ccache) bison $(if $(CONFIG_TARGET_ppc40x),dtc)
 
 # builddir dependencies
 $(curdir)/squashfs/compile := $(curdir)/lzma/install
-- 
cgit v1.2.3