diff options
Diffstat (limited to 'meta/classes-recipe/kernel-arch.bbclass')
| -rw-r--r-- | meta/classes-recipe/kernel-arch.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes-recipe/kernel-arch.bbclass b/meta/classes-recipe/kernel-arch.bbclass index 6e19dbbba8..df4884b6c4 100644 --- a/meta/classes-recipe/kernel-arch.bbclass +++ b/meta/classes-recipe/kernel-arch.bbclass | |||
| @@ -80,3 +80,10 @@ KERNEL_OBJCOPY = "${CCACHE}${HOST_PREFIX}objcopy ${HOST_OBJCOPY_KERNEL_ARCH}" | |||
| 80 | KERNEL_STRIP = "${CCACHE}${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}" | 80 | KERNEL_STRIP = "${CCACHE}${HOST_PREFIX}strip ${HOST_STRIP_KERNEL_ARCH}" |
| 81 | TOOLCHAIN ?= "gcc" | 81 | TOOLCHAIN ?= "gcc" |
| 82 | 82 | ||
| 83 | # 6.3+ requires the variable LOCALVERSION to be set to not get a "+" in | ||
| 84 | # the local version. Having it empty means nothing will be added, and any | ||
| 85 | # value will be appended to the local kernel version. This replaces the | ||
| 86 | # use of .scmversion file for setting a localversion without using | ||
| 87 | # the CONFIG_LOCALVERSION option. | ||
| 88 | KERNEL_LOCALVERSION ??= "" | ||
| 89 | export LOCALVERSION ?= "${KERNEL_LOCALVERSION}" | ||
