1
0
Fork 0
alistair23-linux/arch/x86/purgatory
Philipp Rudo fa8cbda88d x86/purgatory: add missing FORCE to Makefile target
- Build the kernel without the fix
- Add some flag to the purgatories KBUILD_CFLAGS,I used
  -fno-asynchronous-unwind-tables
- Re-build the kernel

When you look at makes output you see that sha256.o is not re-build in the
last step.  Also readelf -S still shows the .eh_frame section for
sha256.o.

With the fix sha256.o is rebuilt in the last step.

Without FORCE make does not detect changes only made to the command line
options.  So object files might not be re-built even when they should be.
Fix this by adding FORCE where it is missing.

Link: http://lkml.kernel.org/r/20180704110044.29279-2-prudo@linux.ibm.com
Fixes: df6f2801f5 ("kernel/kexec_file.c: move purgatories sha256 to common code")
Signed-off-by: Philipp Rudo <prudo@linux.ibm.com>
Acked-by: Dave Young <dyoung@redhat.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@vger.kernel.org>	[4.17+]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-07-14 11:11:09 -07:00
..
Makefile x86/purgatory: add missing FORCE to Makefile target 2018-07-14 11:11:09 -07:00
entry64.S kexec: support for kexec on panic using new system call 2014-08-08 15:57:33 -07:00
purgatory.c kernel/kexec_file.c: move purgatories sha256 to common code 2018-04-13 17:10:28 -07:00
setup-x86_64.S kexec, x86/purgatory: Unbreak it and clean it up 2017-03-10 20:55:09 +01:00
stack.S x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
string.c kernel/kexec_file.c: move purgatories sha256 to common code 2018-04-13 17:10:28 -07:00