build: prepend ABI suffixes with a dash if package name ends with digit
authorJo-Philipp Wich <jo@mein.io>
Mon, 14 Jun 2021 12:58:37 +0000 (14:58 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 11 Jul 2021 14:09:30 +0000 (16:09 +0200)
commit47f617ef8d44e4d7428ff3e0b42acb4a75f5cd37
tree0c77381969347440193feba1b1175b7e3a9d37c5
parentfebf6db0d02c1bdadd4db621a0070b80eb94b7fb
build: prepend ABI suffixes with a dash if package name ends with digit

Ensure that ABI suffixes are separated with a dash from the package name if
the name happens to end with a digit. This implementation detail got lost
during the recent refactoring of the ABI_VERSION handling in buildroot.

Ref: https://github.com/openwrt/packages/pull/14237#issuecomment-860473585
Fixes: c921650382 ("build: drop ABI version from metadata")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f6a03bff5bccdbf9165087bccbb35095903d05c6)
include/feeds.mk
include/package-ipkg.mk