mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
kernel image files use standard flavor
This commit is contained in:
committed by
Jianfeng Liu
parent
13ed5c0d62
commit
ecac08cc8e
@@ -50,7 +50,7 @@ function prepare_kernel_packaging_debs() {
|
||||
declare debs_target_dir="${kernel_work_dir}/.."
|
||||
|
||||
# Some variables and settings used throughout the script
|
||||
declare kernel_version_family="${kernel_version}-${LINUXFAMILY}"
|
||||
declare kernel_version_family="${kernel_version}-${BRANCH}-${LINUXFAMILY}"
|
||||
|
||||
# Package version. Affects users upgrading from repo!
|
||||
display_alert "Kernel .deb package version" "${artifact_version}" "info"
|
||||
|
||||
@@ -40,7 +40,7 @@ function run_kernel_make_internal() {
|
||||
"${DISTCC_MAKE_J_PARALLEL[@]}" # Parallel compile, "-j X" for X cpus; determined by distcc, or is just "$CTHREADS" if distcc is not enabled.
|
||||
|
||||
"ARCH=${ARCHITECTURE}" # Key param. Everything depends on this.
|
||||
"LOCALVERSION=-${LINUXFAMILY}" # Change the internal kernel version to include the family. Changing this causes recompiles # @TODO change hack at .config; that might handles mtime better
|
||||
"LOCALVERSION=-${BRANCH}-${LINUXFAMILY}" # Change the internal kernel version to include the family. Changing this causes recompiles # @TODO change hack at .config; that might handles mtime better
|
||||
|
||||
"CROSS_COMPILE=${CCACHE} ${DISTCC_CROSS_COMPILE_PREFIX[@]} ${KERNEL_COMPILER}" # added as prefix to every compiler invocation by make
|
||||
"KCFLAGS=-fdiagnostics-color=always -Wno-error=misleading-indentation ${KERNEL_EXTRA_CFLAGS:-""}" # Force GCC colored messages, downgrade misleading indentation to warning
|
||||
|
||||
Reference in New Issue
Block a user