diff options
author | Jo-Philipp Wich <jo@mein.io> | 2016-04-13 01:46:09 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-04-13 01:46:09 +0200 |
commit | da46d2b228f67bf0ef89d7c4905c548918763f51 (patch) | |
tree | 68c487bb45e13e930df9451f9b242342182e3fef | |
parent | 9e0401902468a84b701b6361546b9d4a5ff71215 (diff) | |
download | mtk-20170518-da46d2b228f67bf0ef89d7c4905c548918763f51.zip mtk-20170518-da46d2b228f67bf0ef89d7c4905c548918763f51.tar.gz mtk-20170518-da46d2b228f67bf0ef89d7c4905c548918763f51.tar.bz2 |
imagebuilder: fix standalone operation
Fix standalone ImageBuilders after the package layout rework.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | target/imagebuilder/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 106ca3d..87f91ce 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/ |