dist: config: add LOCALVERSION="+debug" for debug config

Upstream: no

This way, dist build will change package name accordingly.

For example:

make dist-rpm CONFIG="generic-release"-> kernel-6.6.26.*
make dist-rpm CONFIG="generic-debug" -> kernel-debug-6.6.26.*

make dist-rpm CONFIG="eks-release" KDIST="eks" -> kernel-eks-6.6.26.*
make dist-rpm CONFIG="eks-debug" KDIST="eks" -> kernel-eks-debug-6.6.26.*
(NOTE: eks config doesn't have a special LOCALVERSION so to package
 name one need to use KDIST, or just keep using "kernel" might be OK.)

Signed-off-by: Kairui Song <kasong@tencent.com>
This commit is contained in:
Kairui Song 2024-04-18 16:10:06 +08:00 committed by frankjpliu
parent 5071b58e39
commit e1dee7b5f3
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ CONFIG_KASAN_GENERIC=y
CONFIG_KASAN_INLINE=y
# CONFIG_KASAN_OUTLINE is not set
CONFIG_KASAN_STACK=1
CONFIG_LOCALVERSION="+debug"
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_VM=y