[source] build: move opkg host dependency from package/install to package/compile

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 21 04:25:28 PST 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/adeae0e02a8cd0e67fc5ba549591fefb056011e7

commit adeae0e02a8cd0e67fc5ba549591fefb056011e7
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Feb 20 12:37:58 2017 +0100

    build: move opkg host dependency from package/install to package/compile
    
    Improves parallel build behavior, since it allows opkg to be built at
    the same time as other packages
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/Makefile b/package/Makefile
index fd0e88f..1ef5017 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -56,7 +56,9 @@ $(curdir)/merge:
 $(curdir)/merge-index: $(curdir)/merge
 	(cd $(PACKAGE_DIR_ALL) && $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages; )
 
-$(curdir)/install: $(TMP_DIR)/.build $(curdir)/system/opkg/host/compile $(curdir)/merge $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),$(curdir)/merge-index)
+$(curdir)/compile: $(curdir)/system/opkg/host/compile
+
+$(curdir)/install: $(TMP_DIR)/.build $(curdir)/merge $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),$(curdir)/merge-index)
 	- find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755
 	rm -rf $(TARGET_DIR) $(TARGET_DIR_ORIG)
 	[ -d $(TARGET_DIR)/tmp ] || mkdir -p $(TARGET_DIR)/tmp



More information about the lede-commits mailing list