Commit 4c6214c7 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ingo Molnar
Browse files

kbuild, suspend, x86: fix rebuild of wakeup.bin

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 to list af targets to avoid rebuilding
wakeup.bin - from Roland McGrath.
Signed-off-by: Sam Ravnborg's avatarSam Ravnborg <>
Cc: Rafael J. Wysocki <>
Cc: Pavel Machek <>
Cc: H. Peter Anvin <>
Cc: Roland McGrath <>
Signed-off-by: default avatarIngo Molnar <>
parent 22eecde2
......@@ -10,5 +10,5 @@ endif
$(obj)/wakeup_rm.o: $(obj)/realmode/wakeup.bin
$(obj)/realmode/wakeup.bin: FORCE
$(Q)$(MAKE) $(build)=$(obj)/realmode $@
$(Q)$(MAKE) $(build)=$(obj)/realmode
......@@ -6,7 +6,8 @@
# for more details.
targets := wakeup.bin wakeup.elf
always := wakeup.bin
targets := wakeup.elf
wakeup-y += wakeup.o wakemain.o video-mode.o copy.o
......@@ -48,7 +49,7 @@ LDFLAGS_wakeup.elf := -T += -P -C
$(obj)/wakeup.elf: $(src)/ $(WAKEUP_OBJS) FORCE
$(obj)/wakeup.elf: $(obj)/ $(WAKEUP_OBJS) FORCE
$(call if_changed,ld)
OBJCOPYFLAGS_wakeup.bin := -O binary
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment