imagebuilder: fix standalone operation

Fix standalone ImageBuilders after the package layout rework.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich 2016-04-13 01:46:09 +02:00
parent 9e04019024
commit da46d2b228
1 changed files with 2 additions and 1 deletions

View File

@ -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/