aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-08-04 11:59:52 +0000
committerMike Baker <mbm@openwrt.org>2006-08-04 11:59:52 +0000
commit2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3 (patch)
treebb3c8c78272da1db2c627224d42bacf420caa36d /toolchain
parentb858ed4dbae8d5f47a52631ca20a1d681300f029 (diff)
downloadupstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.tar.gz
upstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.tar.bz2
upstream-2ffe012ebb6fe6bf1bd8db2305e50d2dc30453a3.zip
set PATH in rules.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4438 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile12
-rw-r--r--toolchain/libnotimpl/Makefile4
2 files changed, 8 insertions, 8 deletions
diff --git a/toolchain/gcc/Makefile b/toolchain/gcc/Makefile
index a13ab2ebf7..85691e6a8e 100644
--- a/toolchain/gcc/Makefile
+++ b/toolchain/gcc/Makefile
@@ -48,7 +48,7 @@ BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(PKG_VERSION)-final
define Stage1/Configure
mkdir -p $(BUILD_DIR1)
- (cd $(BUILD_DIR1); rm -f config.cache; PATH=$(TARGET_PATH) \
+ (cd $(BUILD_DIR1); rm -f config.cache; \
$(PKG_BUILD_DIR)/configure \
--prefix=$(STAGING_DIR) \
--build=$(GNU_HOST_NAME) \
@@ -64,10 +64,10 @@ define Stage1/Configure
);
endef
define Stage1/Compile
- PATH=$(TARGET_PATH) $(MAKE) -C $(BUILD_DIR1) all-gcc
+ $(MAKE) -C $(BUILD_DIR1) all-gcc
endef
define Stage1/Install
- PATH=$(TARGET_PATH) $(MAKE) -C $(BUILD_DIR1) install-gcc
+ $(MAKE) -C $(BUILD_DIR1) install-gcc
endef
define Stage2/Configure
@@ -77,7 +77,7 @@ define Stage2/Configure
ln -sf ../include $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/sys-include
rm -rf $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib
ln -sf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib
- (cd $(BUILD_DIR2); rm -f config.cache; PATH=$(TARGET_PATH) \
+ (cd $(BUILD_DIR2); rm -f config.cache; \
$(PKG_BUILD_DIR)/configure \
--prefix=$(STAGING_DIR) \
--build=$(GNU_HOST_NAME) \
@@ -92,10 +92,10 @@ define Stage2/Configure
);
endef
define Stage2/Compile
- PATH=$(TARGET_PATH) $(MAKE) -C $(BUILD_DIR2) all
+ $(MAKE) -C $(BUILD_DIR2) all
endef
define Stage2/Install
- PATH=$(TARGET_PATH) $(MAKE) -C $(BUILD_DIR2) install
+ $(MAKE) -C $(BUILD_DIR2) install
echo $(PKG_VERSION) > $(STAGING_DIR)/gcc_version
# Set up the symlinks to enable lying about target name.
set -e; \
diff --git a/toolchain/libnotimpl/Makefile b/toolchain/libnotimpl/Makefile
index 214f51c5dc..bc515ca080 100644
--- a/toolchain/libnotimpl/Makefile
+++ b/toolchain/libnotimpl/Makefile
@@ -12,7 +12,7 @@ PKG_BUILD_DIR := $(TOOL_BUILD_DIR)/libnotimpl
include $(INCLUDE_DIR)/host-build.mk
define cc
- PATH="$(TARGET_PATH)" $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o
+ $(TARGET_CC) $(TARGET_CFLAGS) -c src/$(1).c -o $(PKG_BUILD_DIR)/$(1).o
endef
define Build/Prepare
@@ -22,7 +22,7 @@ endef
define Build/Compile
$(call cc,math)
- PATH="$(TARGET_PATH)" $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o
+ $(TARGET_CROSS)ar rc $(PKG_BUILD_DIR)/libnotimpl.a $(PKG_BUILD_DIR)/*.o
endef
define Build/Install