The typo makes the variable expand to nothing. This was probably never caught because g++ is usually not used when building the kernel.
Fixes: a668fd6120742fe5ef6e (2020-06-11, "kernel: handle plugin detection for kernel version >= v5.7") Signed-off-by: Roland Hieber <[email protected]> --- rules/kernel.make | 2 +- rules/templates/template-kernel-make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/kernel.make b/rules/kernel.make index 78ad72c3cf97..7032b0caaba0 100644 --- a/rules/kernel.make +++ b/rules/kernel.make @@ -75,7 +75,7 @@ KERNEL_SHARED_OPT := \ ifndef PTXCONF_KERNEL_GCC_PLUGINS # no gcc plugins; avoid config changes depending on the host compiler KERNEL_SHARED_OPT += \ - HOSTCXX="$(HOSTXX) -DGENERATOR_FILE" \ + HOSTCXX="$(HOSTCXX) -DGENERATOR_FILE" \ HOSTCC="$(HOSTCC) -DGENERATOR_FILE" endif diff --git a/rules/templates/template-kernel-make b/rules/templates/template-kernel-make index 5274b42c2362..c53110165ec3 100644 --- a/rules/templates/template-kernel-make +++ b/rules/templates/template-kernel-make @@ -43,7 +43,7 @@ KERNEL_@PACKAGE@_SHARED_OPT := \ # no gcc plugins; avoid config changes depending on the host compiler KERNEL_@PACKAGE@_SHARED_OPT += \ - HOSTCXX="$(HOSTXX) -DGENERATOR_FILE" \ + HOSTCXX="$(HOSTCXX) -DGENERATOR_FILE" \ HOSTCC="$(HOSTCC) -DGENERATOR_FILE" KERNEL_@PACKAGE@_CONF_OPT := \ -- 2.28.0 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
