diff options
-rw-r--r-- | include/image.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.mk b/include/image.mk index f0b25aa763..c85a9d6505 100644 --- a/include/image.mk +++ b/include/image.mk @@ -294,7 +294,7 @@ target-dir-%: FORCE $(CP) $(TARGET_DIR) $(mkfs_cur_target_dir) mv $(mkfs_cur_target_dir)/etc/opkg $(mkfs_cur_target_dir).opkg echo 'src default file://$(PACKAGE_DIR_ALL)' > $(mkfs_cur_target_dir).conf - $(if $(mkfs_packages_add), \ + $(if $(call opkg_package_files,$(mkfs_packages_add)), \ $(opkg_target) update && \ $(opkg_target) install \ $(call opkg_package_files,$(mkfs_packages_add))) |