no need to call compile,install on the kernel-headers dir - this gets rid of another...
[openwrt/openwrt.git] / toolchain / Makefile
index 9e3a7813846389eb4d5177adbd3903f7cbfa1c09..b11653190e844d354e3e28e82dfdc67b91f43a4a 100644 (file)
@@ -10,6 +10,8 @@ curdir:=toolchain
 
 # subdirectories to descend into
 $(curdir)/builddirs := kernel-headers $(if $(CONFIG_GDB),gdb) $(if $(CONFIG_NATIVE_TOOLCHAIN),,binutils gcc uClibc)
+$(curdir)/builddirs-compile:=. $(filter-out kernel-headers,$($(curdir)/builddirs))
+$(curdir)/builddirs-install:=$($(curdir)/builddirs-compile)
 
 # builddir dependencies
 $(curdir)/uClibc/prepare:=$(curdir)/kernel-headers/prepare