mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
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:
parent
22664498eb
commit
d2c328b134
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user