]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0c135361a57ea4a5214dbaddaf0ac375d8ea503
tree9e68f7d661f7f18c3a598aba00a1a1eae8158be3
parent64da8d0fd1e32a7dd69ed59adb14016c8292f542
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