1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-21 19:54:03 +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
## host-GForth.
HOST_CONFIGURE_VARS += LTDL_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib \
no_dynamic_default=1 \
LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib
no_dynamic_default=1
## Engine's dispatch would be crippled when compiling with -Os, also dynamic
## 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
## components
define Host/Compile
export LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib; \
$(call Host/Compile/Default, gforth gforth.fi)
endef
define Host/Install
export LD_LIBRARY_PATH=$(STAGING_DIR_HOST)/lib; \
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
$(INSTALL_DIR) $(STAGING_DIR_HOST)/lib
$(INSTALL_BIN) $(HOST_BUILD_DIR)/gforth $(STAGING_DIR_HOST)/bin/