x86: Fix rebuild with EFI_STUB enabled
authorJan Beulich <JBeulich@suse.com>
Wed, 3 Apr 2013 14:47:33 +0000 (15:47 +0100)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 5 Apr 2013 20:59:23 +0000 (13:59 -0700)
commit918708245e92941df16a634dc201b407d12bcd91
tree9e68f7d661f7f18c3a598aba00a1a1eae8158be3
parent8b4b9f27e57584f3d90e0bb84cf800ad81cfe3a1
x86: Fix rebuild with EFI_STUB enabled

eboot.o and efi_stub_$(BITS).o didn't get added to "targets", and hence
their .cmd files don't get included by the build machinery, leading to
the files always getting rebuilt.

Rather than adding the two files individually, take the opportunity and
add $(VMLINUX_OBJS) to "targets" instead, thus allowing the assignment
at the top of the file to be shrunk quite a bit.

At the same time, remove a pointless flags override line - the variable
assigned to was misspelled anyway, and the options added are
meaningless for assembly sources.

[ hpa: the patch is not minimal, but I am taking it for -urgent anyway
  since the excess impact of the patch seems to be small enough. ]

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Link: http://lkml.kernel.org/r/515C5D2502000078000CA6AD@nat28.tlf.novell.com
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/boot/compressed/Makefile
This page took 0.024834 seconds and 5 git commands to generate.