diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-04-15 11:19:06 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-04-15 11:19:19 +0200 |
commit | 533f7709f61c54a1c133c5415be8de9b671a8095 (patch) | |
tree | 404b5700f7cb27d0d63547d3647e411fd5f841ea /rules | |
parent | 85a24534ffd8873fcca82f5aa181386517e85bee (diff) | |
download | ptxdist-533f7709f61c54a1c133c5415be8de9b671a8095.tar.gz ptxdist-533f7709f61c54a1c133c5415be8de9b671a8095.tar.xz |
kernel/kernel-template: set PTXDIST_NO_GCC_PLUGINS=1 in _MAKE_ENV as well
Otherwise an implicit 'oldconfig' in the compile stage will try to enable
plugins again.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/kernel.make | 2 | ||||
-rw-r--r-- | rules/templates/template-kernel-make | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rules/kernel.make b/rules/kernel.make index 4be393c4d..f43c1bb8d 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -74,6 +74,8 @@ KERNEL_SHARED_OPT += \ HOSTCC="$(HOSTCC) -DGENERATOR_FILE" KERNEL_CONF_ENV := \ PTXDIST_NO_GCC_PLUGINS=1 +KERNEL_MAKE_ENV := \ + PTXDIST_NO_GCC_PLUGINS=1 endif KERNEL_CONF_TOOL := kconfig diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make index 9a448d429..08ff36284 100644 --- a/rules/templates/template-kernel-make +++ b/rules/templates/template-kernel-make @@ -48,6 +48,8 @@ KERNEL_@PACKAGE@_SHARED_OPT += \ HOSTCC="$(HOSTCC) -DGENERATOR_FILE" KERNEL_@PACKAGE@_CONF_ENV := \ PTXDIST_NO_GCC_PLUGINS=1 +KERNEL_@PACKAGE@_MAKE_ENV := \ + PTXDIST_NO_GCC_PLUGINS=1 KERNEL_@PACKAGE@_CONF_TOOL := kconfig KERNEL_@PACKAGE@_CONF_OPT := \ |