xref: /openbmc/linux/arch/x86/power/Makefile (revision 4562236b)
1OBJECT_FILES_NON_STANDARD_hibernate_asm_$(BITS).o := y
2
3# __restore_processor_state() restores %gs after S3 resume and so should not
4# itself be stack-protected
5nostackp := $(call cc-option, -fno-stack-protector)
6CFLAGS_cpu.o	:= $(nostackp)
7
8obj-$(CONFIG_PM_SLEEP)		+= cpu.o
9obj-$(CONFIG_HIBERNATION)	+= hibernate_$(BITS).o hibernate_asm_$(BITS).o
10