[LEDE-DEV] [PATCH] buildsystem: unify host and package configure

Dirk Neukirchen dirkneukirchen at web.de
Thu May 19 04:38:24 PDT 2016


- package-defaults.mk and host-build.mk configure could behave
differently
- there is already _ARGS in place to hand over stuff

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 include/host-build.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/host-build.mk b/include/host-build.mk
index 456b418..58678cf 100644
--- a/include/host-build.mk
+++ b/include/host-build.mk
@@ -83,9 +83,9 @@ define Host/Configure/Default
 	$(if $(HOST_CONFIGURE_PARALLEL),+)(cd $(HOST_BUILD_DIR)/$(3); \
 		if [ -x configure ]; then \
 			$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/$(3)/ && \
+			$(HOST_CONFIGURE_VARS) \
 			$(2) \
 			$(HOST_CONFIGURE_CMD) \
-			$(HOST_CONFIGURE_VARS) \
 			$(HOST_CONFIGURE_ARGS) \
 			$(1); \
 		fi \
-- 
2.8.2




More information about the Lede-dev mailing list