1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-22 06:25:56 +02:00

gforth: fix 'bash: +make: command not found', more info: https://dev.openwrt.org/changeset/33523

This commit is contained in:
Xiangfu 2012-10-12 16:13:57 +08:00
parent 9ea8452f95
commit 1e9f2d2e58

View File

@ -61,8 +61,7 @@ endef
## override LD_LIBRARY_PATH for all the build steps that might run the ## override LD_LIBRARY_PATH for all the build steps that might run the
## host-GForth. ## host-GForth.
HOST_CONFIGURE_VARS += LTDL_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib \ HOST_CONFIGURE_VARS += LTDL_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib \
no_dynamic_default=1 \ no_dynamic_default=1
LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib
## Engine's dispatch would be crippled when compiling with -Os, also dynamic ## Engine's dispatch would be crippled when compiling with -Os, also dynamic
## superinstructions don't seem to work in that case ## superinstructions don't seem to work in that case
@ -75,12 +74,10 @@ endef
## On the host, we only compile and install minimum number of gforth ## On the host, we only compile and install minimum number of gforth
## components ## components
define Host/Compile define Host/Compile
export LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib; \
$(call Host/Compile/Default, gforth gforth.fi) $(call Host/Compile/Default, gforth gforth.fi)
endef endef
define Host/Install define Host/Install
export LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib; \
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin $(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
$(INSTALL_DIR) $(STAGING_DIR_HOST)/lib $(INSTALL_DIR) $(STAGING_DIR_HOST)/lib
$(INSTALL_BIN) $(HOST_BUILD_DIR)/gforth $(STAGING_DIR_HOST)/bin/ $(INSTALL_BIN) $(HOST_BUILD_DIR)/gforth $(STAGING_DIR_HOST)/bin/