diff options
Diffstat (limited to 'target/imagebuilder')
-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 106ca3d6f2..87f91ce077 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/ |