diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2021-03-11 23:48:09 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2021-03-15 09:45:00 +0100 |
commit | acc639e42baf6c499f1249f0b6d34e3aab62b7ed (patch) | |
tree | b5e1f731ab37c87ea17994a275cf7c43db4966a0 | |
parent | 4953d65d1d3444ccfdc2179014575aa223c3ea60 (diff) | |
download | DistroKit-acc639e42baf6c499f1249f0b6d34e3aab62b7ed.tar.gz DistroKit-acc639e42baf6c499f1249f0b6d34e3aab62b7ed.tar.xz |
platform-v7a: enable GCC_PLUGINS
PTXdist 2021.03.0 has a bug: without this, the v7a platform cannot be
built.
This basically reverts 510c23705bc999bda9d0b040418dfebe94fc9c68.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
-rw-r--r-- | configs/platform-v7a/kernelconfig | 9 | ||||
-rw-r--r-- | configs/platform-v7a/platformconfig | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig index ce1304f..1f1c764 100644 --- a/configs/platform-v7a/kernelconfig +++ b/configs/platform-v7a/kernelconfig @@ -555,6 +555,7 @@ CONFIG_ALIGNMENT_TRAP=y # CONFIG_PARAVIRT is not set # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set # CONFIG_XEN is not set +CONFIG_STACKPROTECTOR_PER_TASK=y # end of Kernel Features # @@ -769,6 +770,11 @@ CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y # end of GCOV-based kernel profiling CONFIG_HAVE_GCC_PLUGINS=y +CONFIG_GCC_PLUGINS=y +# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set +# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set +# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set +CONFIG_GCC_PLUGIN_ARM_SSP_PER_TASK=y # end of General architecture-dependent options CONFIG_RT_MUTEXES=y @@ -3455,6 +3461,9 @@ CONFIG_LSM="yama,loadpin,safesetid,integrity" # Memory initialization # CONFIG_INIT_STACK_NONE=y +# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set +# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set # end of Memory initialization diff --git a/configs/platform-v7a/platformconfig b/configs/platform-v7a/platformconfig index a42e598..98bb638 100644 --- a/configs/platform-v7a/platformconfig +++ b/configs/platform-v7a/platformconfig @@ -135,7 +135,7 @@ PTXCONF_KERNEL_LZOP=y # PTXCONF_KERNEL_LZ4 is not set # PTXCONF_KERNEL_OPENSSL is not set # PTXCONF_KERNEL_LIBELF is not set -# PTXCONF_KERNEL_GCC_PLUGINS is not set +PTXCONF_KERNEL_GCC_PLUGINS=y PTXCONF_KERNEL_CONFIG_BASE_VERSION=y # |