forked from luck/tmp_suning_uos_patched
08687aec71
This is the last unification step. Here we do remove one of the files and rename the left one as cpu.c, as both are now the same. Also update power/Makefile, telling it to build cpu.o, instead of cpu_(32|64).o Signed-off-by: Sergio Luis <sergio@larces.uece.br> Signed-off-by: Lauro Salmito <laurosalmito@gmail.com> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
8 lines
300 B
Makefile
8 lines
300 B
Makefile
# __restore_processor_state() restores %gs after S3 resume and so should not
|
|
# itself be stack-protected
|
|
nostackp := $(call cc-option, -fno-stack-protector)
|
|
CFLAGS_cpu_$(BITS).o := $(nostackp)
|
|
|
|
obj-$(CONFIG_PM_SLEEP) += cpu.o
|
|
obj-$(CONFIG_HIBERNATION) += hibernate_$(BITS).o hibernate_asm_$(BITS).o
|