]> xenbits.xensource.com Git - xen.git/commit
x86/boot: Fix build dependenices for reloc.c
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Jul 2019 16:40:33 +0000 (17:40 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 31 Jul 2019 10:19:45 +0000 (11:19 +0100)
commit78c0000c87ce498bf621914c0554b83fac3ee00d
tree43155f32ade42c300cf5dd3e2b631bf1322f3aa0
parent1585ed3c702e680ae492d852c8cff62cf300df99
x86/boot: Fix build dependenices for reloc.c

c/s 201f852eaf added start_info.h and kconfig.h to reloc.c, but only updated
start_info.h in RELOC_DEPS.

This causes reloc.c to not be regenerated when Kconfig changes.  It is most
noticeable when enabling CONFIG_PVH and finding the resulting binary crash
early with:

  (d9) (XEN)
  (d9) (XEN) ****************************************
  (d9) (XEN) Panic on CPU 0:
  (d9) (XEN) Magic value is wrong: c2c2c2c2
  (d9) (XEN) ****************************************
  (d9) (XEN)
  (d9) (XEN) Reboot in five seconds...
  (XEN) d9v0 Triple fault - invoking HVM shutdown action 1

Reported-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/boot/Makefile