fix gcc compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5511 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
52f3a41d91
commit
87f59ecd7c
|
@ -64,10 +64,10 @@ define Stage1/Configure
|
||||||
);
|
);
|
||||||
endef
|
endef
|
||||||
define Stage1/Compile
|
define Stage1/Compile
|
||||||
$(MAKE) -C $(BUILD_DIR1) all-gcc SHELL="$(BASH)"
|
export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR1) all-gcc
|
||||||
endef
|
endef
|
||||||
define Stage1/Install
|
define Stage1/Install
|
||||||
$(MAKE) -C $(BUILD_DIR1) install-gcc SHELL="$(BASH)"
|
export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR1) install-gcc
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Stage2/Configure
|
define Stage2/Configure
|
||||||
|
@ -93,10 +93,10 @@ define Stage2/Configure
|
||||||
);
|
);
|
||||||
endef
|
endef
|
||||||
define Stage2/Compile
|
define Stage2/Compile
|
||||||
$(MAKE) -C $(BUILD_DIR2) all SHELL="$(BASH)"
|
export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR2) all
|
||||||
endef
|
endef
|
||||||
define Stage2/Install
|
define Stage2/Install
|
||||||
$(MAKE) -C $(BUILD_DIR2) install SHELL="$(BASH)"
|
export SHELL="$(BASH)"; $(MAKE) -C $(BUILD_DIR2) install
|
||||||
echo $(PKG_VERSION) > $(STAGING_DIR)/gcc_version
|
echo $(PKG_VERSION) > $(STAGING_DIR)/gcc_version
|
||||||
# Set up the symlinks to enable lying about target name.
|
# Set up the symlinks to enable lying about target name.
|
||||||
set -e; \
|
set -e; \
|
||||||
|
|
Loading…
Reference in New Issue