From: Florian Fainelli Date: Thu, 2 Jul 2009 13:08:08 +0000 (+0000) Subject: Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d413a9639e91a34899b1366c08d9772b1ca3beb1;p=lede.git Fix configure script path when not at the root of $(PKG_BUILD_DIR), thanks Daniel Dickinson (#5255) SVN-Revision: 16656 --- diff --git a/include/package-defaults.mk b/include/package-defaults.mk index 1553f2f0d1..753c10227e 100644 --- a/include/package-defaults.mk +++ b/include/package-defaults.mk @@ -70,7 +70,7 @@ CONFIGURE_VARS = \ LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ CONFIGURE_PATH = . -CONFIGURE_CMD = $(CONFIGURE_PATH)/configure +CONFIGURE_CMD = ./configure replace_script=$(FIND) $(1) -name $(2) | $(XARGS) chmod u+w; $(FIND) $(1) -name $(2) | $(XARGS) -n1 cp $(SCRIPT_DIR)/$(2);