From d340b096ff12cad4b7bc3e505a47a5d598a57297 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Tue, 6 Feb 2024 03:41:14 +0000 Subject: [PATCH] fix: only call 'opkg flag ...' is building with opkg skip this when using APK. --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile b/package/Makefile index 59dfd9b3de007d..c351c16f873831 100644 --- a/package/Makefile +++ b/package/Makefile @@ -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)