* Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree
[not found] ` <1364614121.3557.11.camel@deadeye.wl.decadent.org.uk>
@ 2013-03-30 10:04 ` Daniel Vacek
2013-04-03 10:28 ` Matt Fleming
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Vacek @ 2013-03-30 10:04 UTC (permalink / raw)
To: Matthew Garrett, H. Peter Anvin
Cc: matt.fleming, linux-efi, ben, linux-kernel, x86, stable
On Sat, Mar 30, 2013 at 4:28 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
> Daniel, this is an obvious fix but I noticed it still hasn't been
> applied. Please can you re-send with the proper Signed-off-by line?
Resending patch. It got lost somewhere. Thanks for pushing Ben.
>From 53864fe932aa87be62f1c70944c386cff9bb9130 Mon Sep 17 00:00:00 2001
From: Daniel Vacek <neelx.g@gmail.com>
Date: Thu, 18 Oct 2012 22:06:26 +0200
Subject: [PATCH] efi: fix typo in Makefile
Fix a little typo.
Signed-off-by: Daniel Vacek <neelx.g@gmail.com>
Acked-by: Matthew Garrett <mjg@redhat.com>
---
arch/x86/boot/compressed/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/boot/compressed/Makefile
b/arch/x86/boot/compressed/Makefile
index 8a84501..059a17f 100644
--- a/arch/x86/boot/compressed/Makefile
+++ b/arch/x86/boot/compressed/Makefile
@@ -29,7 +29,7 @@ VMLINUX_OBJS = $(obj)/vmlinux.lds
$(obj)/head_$(BITS).o $(obj)/misc.o \
$(obj)/piggy.o
$(obj)/eboot.o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone
-$(obj)/efi_stub_$(BITS).o: KBUILD_CLFAGS += -fshort-wchar -mno-red-zone
+$(obj)/efi_stub_$(BITS).o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone
ifeq ($(CONFIG_EFI_STUB), y)
VMLINUX_OBJS += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o
--
1.7.10.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree
2013-03-30 10:04 ` Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree Daniel Vacek
@ 2013-04-03 10:28 ` Matt Fleming
[not found] ` <CAA7rmPE3qNmny0+pBpinCdFHEz2RYXWKTtzyWJ-jp-YDOkC7ow@mail.gmail.com>
2013-04-08 9:32 ` Matt Fleming
0 siblings, 2 replies; 4+ messages in thread
From: Matt Fleming @ 2013-04-03 10:28 UTC (permalink / raw)
To: Daniel Vacek
Cc: Matthew Garrett, H. Peter Anvin, matt.fleming, linux-efi, ben,
linux-kernel, x86, stable
On 30/03/13 10:04, Daniel Vacek wrote:
> On Sat, Mar 30, 2013 at 4:28 AM, Ben Hutchings <ben@decadent.org.uk> wrote:
>> Daniel, this is an obvious fix but I noticed it still hasn't been
>> applied. Please can you re-send with the proper Signed-off-by line?
>
> Resending patch. It got lost somewhere. Thanks for pushing Ben.
>
> From 53864fe932aa87be62f1c70944c386cff9bb9130 Mon Sep 17 00:00:00 2001
> From: Daniel Vacek <neelx.g@gmail.com>
> Date: Thu, 18 Oct 2012 22:06:26 +0200
> Subject: [PATCH] efi: fix typo in Makefile
>
> Fix a little typo.
>
> Signed-off-by: Daniel Vacek <neelx.g@gmail.com>
> Acked-by: Matthew Garrett <mjg@redhat.com>
> ---
> arch/x86/boot/compressed/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
I applied this by hand. Your patch appears to be whitespace damaged. Also, I
expanded the commit message and turned it into,
efi: fix typo in Makefile
commit 9dead5bbb825 ("efi: Build EFI stub with EFI-appropriate options")
contains a typo which means that the efi_stub_$(BITS).o code is still not
compiled with -fshort-wchar and -mno-red-zone.
Fix it with s/KBUILD_CLFAGS/KBUILD_CFLAGS/
--
Matt Fleming, Intel Open Source Technology Center
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree
[not found] ` <CAA7rmPE3qNmny0+pBpinCdFHEz2RYXWKTtzyWJ-jp-YDOkC7ow@mail.gmail.com>
@ 2013-04-03 11:13 ` Daniel Vacek
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Vacek @ 2013-04-03 11:13 UTC (permalink / raw)
To: Matt Fleming
Cc: Matthew Garrett, H. Peter Anvin, matt.fleming, linux-efi, ben,
linux-kernel, x86, stable
On Wed, Apr 3, 2013 at 12:28 PM, Matt Fleming <matt@console-pimps.org> wrote:
>
> On 30/03/13 10:04, Daniel Vacek wrote:
> >
> > Resending patch. It got lost somewhere. Thanks for pushing Ben.
>
> I applied this by hand. Your patch appears to be whitespace damaged.
You're right. Sorry for the mess and thanks.
--nX
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree
2013-04-03 10:28 ` Matt Fleming
[not found] ` <CAA7rmPE3qNmny0+pBpinCdFHEz2RYXWKTtzyWJ-jp-YDOkC7ow@mail.gmail.com>
@ 2013-04-08 9:32 ` Matt Fleming
1 sibling, 0 replies; 4+ messages in thread
From: Matt Fleming @ 2013-04-08 9:32 UTC (permalink / raw)
To: Daniel Vacek
Cc: Matthew Garrett, H. Peter Anvin, matt.fleming, linux-efi, ben,
linux-kernel, x86, stable
On 03/04/13 11:28, Matt Fleming wrote:
> I applied this by hand. Your patch appears to be whitespace damaged. Also, I
> expanded the commit message and turned it into,
>
> efi: fix typo in Makefile
>
> commit 9dead5bbb825 ("efi: Build EFI stub with EFI-appropriate options")
> contains a typo which means that the efi_stub_$(BITS).o code is still not
> compiled with -fshort-wchar and -mno-red-zone.
>
> Fix it with s/KBUILD_CLFAGS/KBUILD_CFLAGS/
I ended up dropping this patch because the following has been applied to -tip,
commit 918708245e92941df16a634dc201b407d12bcd91
Author: Jan Beulich <JBeulich@suse.com>
Date: Wed Apr 3 15:47:33 2013 +0100
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>
diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
index 8a84501..5ef205c 100644
--- a/arch/x86/boot/compressed/Makefile
+++ b/arch/x86/boot/compressed/Makefile
@@ -4,7 +4,7 @@
# create a compressed vmlinux image from the original vmlinux
#
-targets := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo head_$(BITS).o misc.o string.o cmdline.o early_serial_console.o piggy.o
+targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma vmlinux.bin.xz vmlinux.bin.lzo
KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2
KBUILD_CFLAGS += -fno-strict-aliasing -fPIC
@@ -29,7 +29,6 @@ VMLINUX_OBJS = $(obj)/vmlinux.lds $(obj)/head_$(BITS).o $(obj)/misc.o \
$(obj)/piggy.o
$(obj)/eboot.o: KBUILD_CFLAGS += -fshort-wchar -mno-red-zone
-$(obj)/efi_stub_$(BITS).o: KBUILD_CLFAGS += -fshort-wchar -mno-red-zone
ifeq ($(CONFIG_EFI_STUB), y)
VMLINUX_OBJS += $(obj)/eboot.o $(obj)/efi_stub_$(BITS).o
@@ -43,7 +42,7 @@ OBJCOPYFLAGS_vmlinux.bin := -R .comment -S
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)
-targets += vmlinux.bin.all vmlinux.relocs
+targets += $(patsubst $(obj)/%,%,$(VMLINUX_OBJS)) vmlinux.bin.all vmlinux.relocs
CMD_RELOCS = arch/x86/tools/relocs
quiet_cmd_relocs = RELOCS $@
--
Matt Fleming, Intel Open Source Technology Center
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-04-08 9:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <13511021101759@kroah.org>
[not found] ` <CAA7rmPF4oZjvwQ5LU1pJAydWhbwmCmzgUudUvQ5_YPpS_Rnjvg@mail.gmail.com>
[not found] ` <1364614121.3557.11.camel@deadeye.wl.decadent.org.uk>
2013-03-30 10:04 ` Patch "efi: Build EFI stub with EFI-appropriate options" has been added to the 3.6-stable tree Daniel Vacek
2013-04-03 10:28 ` Matt Fleming
[not found] ` <CAA7rmPE3qNmny0+pBpinCdFHEz2RYXWKTtzyWJ-jp-YDOkC7ow@mail.gmail.com>
2013-04-03 11:13 ` Daniel Vacek
2013-04-08 9:32 ` Matt Fleming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).