Makefile (5cca36069d4c2942a46f98f47b9e7160fd547e03) | Makefile (129ab0d2d9f38b9d43df35235fc66c6740d6928b) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2VERSION = 5 3PATCHLEVEL = 16 4SUBLEVEL = 0 5EXTRAVERSION = -rc3 6NAME = Gobble Gobble 7 8# *DOCUMENTATION* --- 1706 unchanged lines hidden (view full) --- 1715clean-dirs := $(KBUILD_EXTMOD) 1716clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers $(KBUILD_EXTMOD)/modules.nsdeps \ 1717 $(KBUILD_EXTMOD)/compile_commands.json $(KBUILD_EXTMOD)/.thinlto-cache 1718 1719PHONY += prepare 1720# now expand this into a simple variable to reduce the cost of shell evaluations 1721prepare: CC_VERSION_TEXT := $(CC_VERSION_TEXT) 1722prepare: | 1# SPDX-License-Identifier: GPL-2.0 2VERSION = 5 3PATCHLEVEL = 16 4SUBLEVEL = 0 5EXTRAVERSION = -rc3 6NAME = Gobble Gobble 7 8# *DOCUMENTATION* --- 1706 unchanged lines hidden (view full) --- 1715clean-dirs := $(KBUILD_EXTMOD) 1716clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers $(KBUILD_EXTMOD)/modules.nsdeps \ 1717 $(KBUILD_EXTMOD)/compile_commands.json $(KBUILD_EXTMOD)/.thinlto-cache 1718 1719PHONY += prepare 1720# now expand this into a simple variable to reduce the cost of shell evaluations 1721prepare: CC_VERSION_TEXT := $(CC_VERSION_TEXT) 1722prepare: |
1723 @if [ "$(CC_VERSION_TEXT)" != $(CONFIG_CC_VERSION_TEXT) ]; then \ | 1723 @if [ "$(CC_VERSION_TEXT)" != "$(CONFIG_CC_VERSION_TEXT)" ]; then \ |
1724 echo >&2 "warning: the compiler differs from the one used to build the kernel"; \ | 1724 echo >&2 "warning: the compiler differs from the one used to build the kernel"; \ |
1725 echo >&2 " The kernel was built by: "$(CONFIG_CC_VERSION_TEXT); \ | 1725 echo >&2 " The kernel was built by: $(CONFIG_CC_VERSION_TEXT)"; \ |
1726 echo >&2 " You are using: $(CC_VERSION_TEXT)"; \ 1727 fi 1728 1729PHONY += help 1730help: 1731 @echo ' Building external modules.' 1732 @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' 1733 @echo '' --- 236 unchanged lines hidden --- | 1726 echo >&2 " You are using: $(CC_VERSION_TEXT)"; \ 1727 fi 1728 1729PHONY += help 1730help: 1731 @echo ' Building external modules.' 1732 @echo ' Syntax: make -C path/to/kernel/src M=$$PWD target' 1733 @echo '' --- 236 unchanged lines hidden --- |