Browse Source

only build dtc for the target that uses it

SVN-Revision: 10577
Felix Fietkau 18 years ago
parent
commit
7c68eb27ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/Makefile

+ 1 - 1
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