package/qemu: fix build of host variant
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 8 Sep 2016 18:46:58 +0000 (20:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 8 Sep 2016 20:13:18 +0000 (22:13 +0200)
commit524b6b85595274ca13bd7d01adb61ce2dddd786c
tree2f3c2cf3006adb0fb11db320b02ca66d923bbc0a
parent031659024b3cf27bb68dc58d07519b563ef472a1
package/qemu: fix build of host variant

The Qemu buildsystem expects that the cpp it is passed can be called
like it were cc: it passes it the '-c' option, which is not allowed by
cpp, but is allowed for cc.

Fix that by overriding CPP when calling configure.

Note: the target variant of Qemu does not build the affected parts (the
PC-BIOS images). This is another problem that should be fixed separately.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/qemu/qemu.mk