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