mirror of https://github.com/armbian/build.git
meson-s4t7: Fix custom_kernel_config: hash modification has to happen inside the first function call
Will be ignored on second time the function is called
This commit is contained in:
parent
ee8a3d9675
commit
6ced5cc026
|
@ -127,10 +127,12 @@ function custom_kernel_config__add_khadas_common_drivers() {
|
|||
|
||||
# Hack to ensure that we will recreate kernel if common_drivers source changes
|
||||
kernel_config_modifying_hashes+=( "khadas_common_drivers=${GIT_INFO_COMMON_DRIVERS[SHA1]}" )
|
||||
|
||||
# viraniac: kernel_config_modifying_hashes is only needed during first call of this function to calculate kernel artifact version string. It serves no purpose whatsoever during second call.
|
||||
kernel_config_modifying_hashes+=("CONFIG_DEBUG_KERNEL=y" "CONFIG_EXPERT=y" "CONFIG_EMBEDDED=y")
|
||||
else
|
||||
# Unfortunately, debug kernel has to be enabled to make khadas_common_drivers compile
|
||||
display_alert "Enabling kernel config" "DEBUG_KERNEL=y, EXPERT=y, EMBEDDED=y to fix khadas_common_drivers compilation" "info"
|
||||
kernel_config_modifying_hashes+=("CONFIG_DEBUG_KERNEL=y" "CONFIG_EXPERT=y" "CONFIG_EMBEDDED=y")
|
||||
kernel_config_set_y DEBUG_KERNEL
|
||||
kernel_config_set_y EXPERT
|
||||
kernel_config_set_y EMBEDDED
|
||||
|
|
Loading…
Reference in New Issue