Makefile (4aef2ec9022b217f74d0f4c9b84081f07cc223d9) Makefile (d08b9f0ca6605e13dcb48f04e55a30545b3c71eb)
1# SPDX-License-Identifier: GPL-2.0
2VERSION = 5
3PATCHLEVEL = 7
4SUBLEVEL = 0
1# SPDX-License-Identifier: GPL-2.0
2VERSION = 5
3PATCHLEVEL = 7
4SUBLEVEL = 0
5EXTRAVERSION = -rc2
5EXTRAVERSION = -rc3
6NAME = Kleptomaniac Octopus
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

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

861KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
862LDFLAGS_vmlinux += --gc-sections
863endif
864
865ifdef CONFIG_LIVEPATCH
866KBUILD_CFLAGS += $(call cc-option, -flive-patching=inline-clone)
867endif
868
6NAME = Kleptomaniac Octopus
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

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

861KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections
862LDFLAGS_vmlinux += --gc-sections
863endif
864
865ifdef CONFIG_LIVEPATCH
866KBUILD_CFLAGS += $(call cc-option, -flive-patching=inline-clone)
867endif
868
869ifdef CONFIG_SHADOW_CALL_STACK
870CC_FLAGS_SCS := -fsanitize=shadow-call-stack
871KBUILD_CFLAGS += $(CC_FLAGS_SCS)
872export CC_FLAGS_SCS
873endif
874
869# arch Makefile may override CC so keep this after arch Makefile is included
870NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
871
872# warn about C99 declaration after statement
873KBUILD_CFLAGS += -Wdeclaration-after-statement
874
875# Variable Length Arrays (VLAs) should not be used anywhere in the kernel
876KBUILD_CFLAGS += -Wvla

--- 979 unchanged lines hidden ---
875# arch Makefile may override CC so keep this after arch Makefile is included
876NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
877
878# warn about C99 declaration after statement
879KBUILD_CFLAGS += -Wdeclaration-after-statement
880
881# Variable Length Arrays (VLAs) should not be used anywhere in the kernel
882KBUILD_CFLAGS += -Wvla

--- 979 unchanged lines hidden ---