ar71xx: hardcode VERSION_DIST for mkdapimg2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-09-14 03:26:28 +08:00
parent 17e4ffc418
commit 8d9ab9fe0d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -28,7 +28,7 @@ define Build/mkdapimg2
$(STAGING_DIR_HOST)/bin/mkdapimg2 \
-i $@ -o $@.new \
-s $(DAP_SIGNATURE) \
-v $(VERSION_DIST)-$(firstword $(subst +, ,$(firstword $(subst -, ,$(REVISION))))) \
-v EMORTAL-$(firstword $(subst +, ,$(firstword $(subst -, ,$(REVISION))))) \
-r Default \
$(if $(1),-k $(1))
mv $@.new $@