]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/linux/linux-6.0-fix_external_module_build.patch
kernel: update to 6.1.3
[ipfire-2.x.git] / src / patches / linux / linux-6.0-fix_external_module_build.patch
CommitLineData
65352552
AF
1diff --git a/Makefile b/Makefile
2index 8478e13e9424..00c747575f0c 100644
3--- a/Makefile
4+++ b/Makefile
5@@ -1734,9 +1734,9 @@ PHONY += prepare
6 # now expand this into a simple variable to reduce the cost of shell evaluations
7 prepare: CC_VERSION_TEXT := $(CC_VERSION_TEXT)
8 prepare:
9- @if [ "$(CC_VERSION_TEXT)" != "$(CONFIG_CC_VERSION_TEXT)" ]; then \
10+ @if [ "$(CC_VERSION_TEXT)" != $(CONFIG_CC_VERSION_TEXT) ]; then \
11 echo >&2 "warning: the compiler differs from the one used to build the kernel"; \
12- echo >&2 " The kernel was built by: $(CONFIG_CC_VERSION_TEXT)"; \
13+ echo >&2 " The kernel was built by: "$(CONFIG_CC_VERSION_TEXT); \
14 echo >&2 " You are using: $(CC_VERSION_TEXT)"; \
15 fi
16