build: apk: Fix package cleaning

Fix the regex for removing packages. APK uses a "-" between the package
name and the version. opkg used a "_" between them. This fixes removing
package in build clean when using apk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2024-11-19 23:46:51 +01:00
parent 22664498eb
commit d2c328b134

View File

@ -20,7 +20,7 @@ opkg_package_files = $(wildcard \
apk_package_files = $(wildcard \
$(foreach dir,$(PACKAGE_SUBDIRS), \
$(foreach pkg,$(1), $(dir)/$(pkg)_*.apk)))
$(foreach pkg,$(1), $(dir)/$(pkg)-*.apk)))
# 1: package name
define FeedPackageDir