build: fix missing SOURCE_VERSION variable
authorMichael Pratt <mcpratt@pm.me>
Wed, 3 Jul 2024 07:15:46 +0000 (03:15 -0400)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 3 Jul 2024 11:10:08 +0000 (13:10 +0200)
commita1440747f2edb507c819f63f93228cd16c1cdcb5
tree0f9cf4a17a65853ff5136a6baf033d36300f6208
parentd55083fbcaea9cdd2ebc10a2d38989ad485a5357
build: fix missing SOURCE_VERSION variable

The recipe Download/git-kernel uses DownloadMethod/git
which now requires a definition of SOURCE_VERSION instead of VERSION
due to Validate/git being used to check for the variables.

Rename the variable as intended to match with the others
that were renamed in the referenced commit.
This fixes the following Makefile parse error
when downloading a specific kernel repository version
when configured with the CONFIG_KERNEL_GIT_CLONE_URI option:

  Makefile:19: *** Download/git-kernel is missing the SOURCE_VERSION field..  Stop.

Fixes: 9fc79e2e2 ("download: don't overwrite VERSION variable")
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/15858
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
include/kernel-build.mk