mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:07:10 +07:00
4c6214c75a
In kernel/acpi/realmode/Makefile use the 'always' variable to say that wakeup.bin should always be made. In acpi/Makefile we then do not need to specify the requested target and we avoid the message from make: `arch/x86/kernel/acpi/realmode/wakeup.bin' is up to date. Add wakeup.lds to list af targets to avoid rebuilding wakeup.bin - from Roland McGrath. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Pavel Machek <pavel@suse.cz> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
15 lines
318 B
Makefile
15 lines
318 B
Makefile
subdir- := realmode
|
|
|
|
obj-$(CONFIG_ACPI) += boot.o
|
|
obj-$(CONFIG_ACPI_SLEEP) += sleep.o wakeup_rm.o wakeup_$(BITS).o
|
|
|
|
ifneq ($(CONFIG_ACPI_PROCESSOR),)
|
|
obj-y += cstate.o processor.o
|
|
endif
|
|
|
|
$(obj)/wakeup_rm.o: $(obj)/realmode/wakeup.bin
|
|
|
|
$(obj)/realmode/wakeup.bin: FORCE
|
|
$(Q)$(MAKE) $(build)=$(obj)/realmode
|
|
|