summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-04-01 16:09:33 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-04-08 08:24:40 +0200
commit7a90f622f3e46e1cbae6ddc4c4debe4ae62a3e52 (patch)
tree9b5513e784580fb01c299e1ba1fb9467a6b2817b
parent8484ecb7b244ad5eb168b69e6d352cf717f7801f (diff)
downloadptxdist-7a90f622f3e46e1cbae6ddc4c4debe4ae62a3e52.tar.gz
ptxdist-7a90f622f3e46e1cbae6ddc4c4debe4ae62a3e52.tar.xz
template: kernel: fix disabling gcc plugins for >= v5.11
Just a copy of the same change from the kernel package. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/templates/template-kernel-make2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make
index 3f24b8a8c..9a448d429 100644
--- a/rules/templates/template-kernel-make
+++ b/rules/templates/template-kernel-make
@@ -46,6 +46,8 @@ KERNEL_@PACKAGE@_SHARED_OPT := \
KERNEL_@PACKAGE@_SHARED_OPT += \
HOSTCXX="$(HOSTCXX) -DGENERATOR_FILE" \
HOSTCC="$(HOSTCC) -DGENERATOR_FILE"
+KERNEL_@PACKAGE@_CONF_ENV := \
+ PTXDIST_NO_GCC_PLUGINS=1
KERNEL_@PACKAGE@_CONF_TOOL := kconfig
KERNEL_@PACKAGE@_CONF_OPT := \