summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-09 21:22:23 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-03-09 21:22:23 +0000
commitbf277dd79e883f65bfe836f2c09a4d8558474895 (patch)
tree5385366a7b38277228c53508e1a426b549f87e7b
parenta3033be2c1157ac8f0faf254fa4160d057f0aefe (diff)
only build dtc for the target that uses it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10577 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index a73a79fcca..e1f5d8c0b7 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