fix gcc compile
SVN-Revision: 5032
This commit is contained in:
parent
343946f7a7
commit
42d657027e
@ -9,6 +9,8 @@
|
|||||||
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)))
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user