diff options
Diffstat (limited to 'target/imagebuilder')
-rw-r--r-- | target/imagebuilder/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile index 87f91ce077..b49153b889 100644 --- a/target/imagebuilder/Makefile +++ b/target/imagebuilder/Makefile @@ -47,10 +47,10 @@ endif $(VERSION_SED) $(PKG_BUILD_DIR)/repositories.conf ifeq ($(CONFIG_IB_STANDALONE),) - (cd $(PACKAGE_DIR); $(FIND) -type f -name 'libc_*.ipk' -or -name 'kernel_*.ipk' -or -name 'kmod-*.ipk') | \ + (cd $(call FeedPackageDir,libc); $(FIND) -type f -name 'libc_*.ipk' -or -name 'kernel_*.ipk' -or -name 'kmod-*.ipk') | \ while read path; do \ mkdir -p "$(PKG_BUILD_DIR)/packages/$${path%/*}"; \ - cp "$(PACKAGE_DIR)/$$path" "$(PKG_BUILD_DIR)/packages/$$path"; \ + cp "$(call FeedPackageDir,libc)/$$path" "$(PKG_BUILD_DIR)/packages/$$path"; \ done else $(INSTALL_DIR) $(PKG_BUILD_DIR)/packages |