Makefile (e18d6152ff0f41b7f01f9817372022df04e0d354) Makefile (f80be4571b19b9fd8dd1528cd2a2f123aff51f70)
1# SPDX-License-Identifier: GPL-2.0
2VERSION = 6
3PATCHLEVEL = 0
4SUBLEVEL = 0
1# SPDX-License-Identifier: GPL-2.0
2VERSION = 6
3PATCHLEVEL = 0
4SUBLEVEL = 0
5EXTRAVERSION = -rc7
5EXTRAVERSION = -rc3
6NAME = Hurr durr I'ma ninja sloth
7
8# *DOCUMENTATION*
9# To see a list of typical targets execute "make help"
10# More info can be located in ./README
11# Comments in this file are targeted only to the developer, do not
12# expect to learn how to build the kernel reading this file.
13

--- 996 unchanged lines hidden (view full) ---

1010# change __FILE__ to the relative path from the srctree
1011KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
1012
1013# include additional Makefiles when needed
1014include-y := scripts/Makefile.extrawarn
1015include-$(CONFIG_DEBUG_INFO) += scripts/Makefile.debug
1016include-$(CONFIG_KASAN) += scripts/Makefile.kasan
1017include-$(CONFIG_KCSAN) += scripts/Makefile.kcsan
6NAME = Hurr durr I'ma ninja sloth
7
8# *DOCUMENTATION*
9# To see a list of typical targets execute "make help"
10# More info can be located in ./README
11# Comments in this file are targeted only to the developer, do not
12# expect to learn how to build the kernel reading this file.
13

--- 996 unchanged lines hidden (view full) ---

1010# change __FILE__ to the relative path from the srctree
1011KBUILD_CPPFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
1012
1013# include additional Makefiles when needed
1014include-y := scripts/Makefile.extrawarn
1015include-$(CONFIG_DEBUG_INFO) += scripts/Makefile.debug
1016include-$(CONFIG_KASAN) += scripts/Makefile.kasan
1017include-$(CONFIG_KCSAN) += scripts/Makefile.kcsan
1018include-$(CONFIG_KMSAN) += scripts/Makefile.kmsan
1018include-$(CONFIG_UBSAN) += scripts/Makefile.ubsan
1019include-$(CONFIG_KCOV) += scripts/Makefile.kcov
1020include-$(CONFIG_RANDSTRUCT) += scripts/Makefile.randstruct
1021include-$(CONFIG_GCC_PLUGINS) += scripts/Makefile.gcc-plugins
1022
1023include $(addprefix $(srctree)/, $(include-y))
1024
1025# scripts/Makefile.gcc-plugins is intentionally included last.

--- 256 unchanged lines hidden (view full) ---

1282 $(call cmd,headers_install)
1283
1284PHONY += archheaders archscripts
1285
1286hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
1287
1288PHONY += headers
1289headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts
1019include-$(CONFIG_UBSAN) += scripts/Makefile.ubsan
1020include-$(CONFIG_KCOV) += scripts/Makefile.kcov
1021include-$(CONFIG_RANDSTRUCT) += scripts/Makefile.randstruct
1022include-$(CONFIG_GCC_PLUGINS) += scripts/Makefile.gcc-plugins
1023
1024include $(addprefix $(srctree)/, $(include-y))
1025
1026# scripts/Makefile.gcc-plugins is intentionally included last.

--- 256 unchanged lines hidden (view full) ---

1283 $(call cmd,headers_install)
1284
1285PHONY += archheaders archscripts
1286
1287hdr-inst := -f $(srctree)/scripts/Makefile.headersinst obj
1288
1289PHONY += headers
1290headers: $(version_h) scripts_unifdef uapi-asm-generic archheaders archscripts
1290 $(if $(filter um, $(SRCARCH)), $(error Headers not exportable for UML))
1291 $(if $(wildcard $(srctree)/arch/$(SRCARCH)/include/uapi/asm/Kbuild),, \
1292 $(error Headers not exportable for the $(SRCARCH) architecture))
1291 $(Q)$(MAKE) $(hdr-inst)=include/uapi
1292 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi
1293
1294ifdef CONFIG_HEADERS_INSTALL
1295prepare: headers
1296endif
1297
1298PHONY += scripts_unifdef

--- 686 unchanged lines hidden ---
1293 $(Q)$(MAKE) $(hdr-inst)=include/uapi
1294 $(Q)$(MAKE) $(hdr-inst)=arch/$(SRCARCH)/include/uapi
1295
1296ifdef CONFIG_HEADERS_INSTALL
1297prepare: headers
1298endif
1299
1300PHONY += scripts_unifdef

--- 686 unchanged lines hidden ---