package/xen: fix build failure on x86 after bump to 4.7
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 1 Nov 2016 08:37:32 +0000 (09:37 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 1 Nov 2016 13:53:36 +0000 (14:53 +0100)
commitbce4d0af424f46ec4cdfa6e54de0c4a34cdaabed
treeb5b0a85e8f29fe5d5f4cb00c5c9d5dfd1d7fd4d8
parent2e29db7d979b58a72d0d7fc5eefb652abba971da
package/xen: fix build failure on x86 after bump to 4.7

Since the bump to 4.7, Xen fails to build because of a double definition
of __OBJECT_FILE__. This is due to (who would have guessed) the weirdness
of their buildsystem.

Fix that with a dirty hack: undefine the macro before defining it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alistair Francis <alistair.francis@xilinx.com>
[Alistair: Tested on ARMv7 (little endian) boot.]
Tested-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xen/0002-xen-Rules.mk-fix-build-with-CFLAGS-from-environment.patch [new file with mode: 0644]