xref: /OK3568_Linux_fs/kernel/arch/x86/power/Makefile (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0
2*4882a593SmuzhiyunOBJECT_FILES_NON_STANDARD_hibernate_asm_$(BITS).o := y
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun# __restore_processor_state() restores %gs after S3 resume and so should not
5*4882a593Smuzhiyun# itself be stack-protected
6*4882a593SmuzhiyunCFLAGS_cpu.o	:= -fno-stack-protector
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunobj-$(CONFIG_PM_SLEEP)		+= cpu.o
9*4882a593Smuzhiyunobj-$(CONFIG_HIBERNATION)	+= hibernate_$(BITS).o hibernate_asm_$(BITS).o hibernate.o
10