mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 04:06:47 +02:00
fix KERNEL_PATCHVER, properly strip -rc* suffixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15353 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e5c7dd93ee
commit
4fdf829b30
@ -45,5 +45,5 @@ split_version=$(subst ., ,$(1))
|
||||
merge_version=$(subst $(space),.,$(1))
|
||||
KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION)))
|
||||
KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(KERNEL_BASE))))
|
||||
KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(LINUX_VERSION))))
|
||||
KERNEL_PATCHVER=$(call merge_version,$(wordlist 1,3,$(call split_version,$(KERNEL_BASE))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user