Replace TOOLCHAIN_BUILD_DIR with BUILD_DIR_TOOLCHAIN (the other one is deprecated)
authorFlorian Fainelli <florian@openwrt.org>
Sat, 11 Aug 2007 17:32:45 +0000 (17:32 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 11 Aug 2007 17:32:45 +0000 (17:32 +0000)
SVN-Revision: 8399

package/gdbserver/Makefile
toolchain/kernel-headers/Makefile

index 17dbbe8..1904fb7 100644 (file)
@@ -11,7 +11,7 @@ PKG_NAME:=gdbserver
 PKG_VERSION:=6.3
 PKG_RELEASE:=1
 
-GDB_DIR:=$(TOOLCHAIN_BUILD_DIR)/gdb-$(PKG_VERSION)
+GDB_DIR:=$(BUILD_DIR_TOOLCHAIN)/gdb-$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 
index 1f6e7a8..011ec95 100644 (file)
@@ -29,7 +29,7 @@ include $(INCLUDE_DIR)/kernel-defaults.mk
 
 define Build/Prepare/cris
        mkdir -p $(BUILD_DIR_TOOLCHAIN)
-       bzcat $(DL_DIR)/$(PKG_SOURCE) | $(HOST_TAR) -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS)
+       bzcat $(DL_DIR)/$(PKG_SOURCE) | $(HOST_TAR) -C $(BUILD_DIR_TOOLCHAIN) $(TAR_OPTIONS)
        $(PATCH) $(PKG_BUILD_DIR) $(TOPDIR)/target/linux/etrax-2.6/patches/generic_2.6
        $(PATCH) $(PKG_BUILD_DIR) $(TOPDIR)/target/linux/etrax-2.6/patches/cris
        ln -sf arch-v10 $(PKG_BUILD_DIR)/include/asm-cris/arch