only build dtc for the target that uses it
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Mar 2008 21:22:23 +0000 (21:22 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 9 Mar 2008 21:22:23 +0000 (21:22 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10577 3c298f89-4303-0410-b956-a3cf2f4a3e73

tools/Makefile

index a73a79fcca7a3f73e84fb13359a240fd5136d5db..e1f5d8c0b70d7eecca1854dc86030a366aabb67e 100644 (file)
@@ -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