xref: /linux/include/linux/compiler-version.h (revision 0e0345b7)
1ce6ed1c4SMasahiro Yamada /* SPDX-License-Identifier: GPL-2.0-only */
2ce6ed1c4SMasahiro Yamada 
3ce6ed1c4SMasahiro Yamada #ifdef  __LINUX_COMPILER_VERSION_H
4ce6ed1c4SMasahiro Yamada #error "Please do not include <linux/compiler-version.h>. This is done by the build system."
5ce6ed1c4SMasahiro Yamada #endif
6ce6ed1c4SMasahiro Yamada #define __LINUX_COMPILER_VERSION_H
7ce6ed1c4SMasahiro Yamada 
8ce6ed1c4SMasahiro Yamada /*
9ce6ed1c4SMasahiro Yamada  * This header exists to force full rebuild when the compiler is upgraded.
10ce6ed1c4SMasahiro Yamada  *
11ce6ed1c4SMasahiro Yamada  * When fixdep scans this, it will find this string "CONFIG_CC_VERSION_TEXT"
12*0e0345b7SAlexey Dobriyan  * and add dependency on include/config/CC_VERSION_TEXT, which is touched
13ce6ed1c4SMasahiro Yamada  * by Kconfig when the version string from the compiler changes.
14ce6ed1c4SMasahiro Yamada  */
15