]> git.ipfire.org Git - thirdparty/linux.git/blob - include/linux/compiler-version.h
kbuild: rebuild GCC plugins when the compiler is upgraded
[thirdparty/linux.git] / include / linux / compiler-version.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2
3 #ifdef __LINUX_COMPILER_VERSION_H
4 #error "Please do not include <linux/compiler-version.h>. This is done by the build system."
5 #endif
6 #define __LINUX_COMPILER_VERSION_H
7
8 /*
9 * This header exists to force full rebuild when the compiler is upgraded.
10 *
11 * When fixdep scans this, it will find this string "CONFIG_CC_VERSION_TEXT"
12 * and add dependency on include/config/cc/version/text.h, which is touched
13 * by Kconfig when the version string from the compiler changes.
14 */