fix compile errors with make 3.80
[openwrt-10.03/.git] / toolchain / Makefile
index e0af602c2a3a4c0777017203c61c1ba5e2bc207e..e8ee24ff7ae1d62015687cab7969b86f44d65d84 100644 (file)
@@ -7,7 +7,7 @@
 # Main makefile for the toolchain
 #
 file:=${lastword ${MAKEFILE_LIST}}
-curdir:=$(patsubst %/Makefile,%,${file})
+curdir:=toolchain
 
 # subdirectories to descend into
 $(curdir)/builddirs := kernel-headers $(if $(CONFIG_GDB),gdb) $(if $(CONFIG_NATIVE_TOOLCHAIN),,binutils gcc uClibc)