From da46d2b228f67bf0ef89d7c4905c548918763f51 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 13 Apr 2016 01:46:09 +0200 Subject: [PATCH] imagebuilder: fix standalone operation Fix standalone ImageBuilders after the package layout rework. Signed-off-by: Jo-Philipp Wich --- target/imagebuilder/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 106ca3d6f2d..87f91ce0777 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -53,7 +53,8 @@ ifeq ($(CONFIG_IB_STANDALONE),) cp "$(PACKAGE_DIR)/$$path" "$(PKG_BUILD_DIR)/packages/$$path"; \ done else - $(CP) $(PACKAGE_DIR) $(PKG_BUILD_DIR)/packages + $(INSTALL_DIR) $(PKG_BUILD_DIR)/packages + find $(wildcard $(PACKAGE_SUBDIRS)) -type f -name '*.ipk' -exec $(CP) {} $(PKG_BUILD_DIR)/packages/ \; endif $(CP) $(TOPDIR)/target/linux $(PKG_BUILD_DIR)/target/ -- 2.30.2