1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:40:16 +02:00

fix gcc compile

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5032 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-10-10 19:55:54 +00:00
parent f9b2e6769f
commit 27c68c3f75
2 changed files with 4 additions and 1 deletions

View File

@ -8,7 +8,9 @@
-include $(TOPDIR)/.config -include $(TOPDIR)/.config
include $(TOPDIR)/include/verbose.mk include $(TOPDIR)/include/verbose.mk
export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' -- export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --
export BASH=$(shell which bash)
ARCH:=$(strip $(subst ",, $(CONFIG_ARCH))) ARCH:=$(strip $(subst ",, $(CONFIG_ARCH)))
TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION))) TARGET_OPTIMIZATION:=$(strip $(subst ",, $(CONFIG_TARGET_OPTIMIZATION)))
WGET:=$(strip $(subst ",, $(CONFIG_WGET))) WGET:=$(strip $(subst ",, $(CONFIG_WGET)))

View File

@ -45,6 +45,7 @@ include $(INCLUDE_DIR)/host-build.mk
BUILD_DIR1:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(PKG_VERSION)-initial BUILD_DIR1:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(PKG_VERSION)-initial
BUILD_DIR2:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(PKG_VERSION)-final BUILD_DIR2:=$(TOOLCHAIN_BUILD_DIR)/gcc-$(PKG_VERSION)-final
override SHELL:=$(BASH)
define Stage1/Configure define Stage1/Configure
mkdir -p $(BUILD_DIR1) mkdir -p $(BUILD_DIR1)