Skip to content

Commit

Permalink
fix: only call 'opkg flag ...' is building with opkg
Browse files Browse the repository at this point in the history
skip this when using APK.
  • Loading branch information
dangowrt committed Feb 6, 2024
1 parent 79bd448 commit d340b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,13 @@ else
$(call opkg_package_files,\
$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg)))))
$(call opkg,$(TARGET_DIR)) install $$(cat $(TMP_DIR)/opkg_install_list)
endif
@for file in $(PACKAGE_INSTALL_FILES); do \
[ -s $$file.flags ] || continue; \
for flag in `cat $$file.flags`; do \
$(call opkg,$(TARGET_DIR)) flag $$flag `cat $$file`; \
done; \
done || true
endif

$(CP) $(TARGET_DIR) $(TARGET_DIR_ORIG)

Expand Down

0 comments on commit d340b09

Please sign in to comment.