[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen stable-4.2] adjust x86 EFI build



commit e73ba1509107f58f49203c0efe7e1b5a9dacbb55
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Aug 8 10:32:13 2013 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Aug 8 10:32:13 2013 +0200

    adjust x86 EFI build
    
    While the rule to generate .init.o files from .o ones already correctly
    included $(extra-y), the setting of the necessary compiler flag didn't
    have the same. With some yet to be posted patch this resulted in build
    breakage because of the compiler deciding not to inline a few functions
    (which then results in .text not being empty as required for these
    object files).
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Keir Fraser <keir@xxxxxxx>
    master commit: 5656b93d215d7c5160790ea87758625ba1de16b1
    master date: 2013-07-10 10:03:40 +0200
---
 xen/Rules.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xen/Rules.mk b/xen/Rules.mk
index f7cb8b2..f49046b 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -101,7 +101,7 @@ obj-y    := $(patsubst %/,%/built-in.o,$(obj-y))
 
 subdir-all := $(subdir-y) $(subdir-n)
 
-$(filter %.init.o,$(obj-y) $(obj-bin-y)): CFLAGS += -DINIT_SECTIONS_ONLY
+$(filter %.init.o,$(obj-y) $(obj-bin-y) $(extra-y)): CFLAGS += 
-DINIT_SECTIONS_ONLY
 
 ifeq ($(lto),y)
 # Would like to handle all object files as bitcode, but objects made from
--
generated by git-patchbot for /home/xen/git/xen.git#stable-4.2

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.