qemu: fix building on mips arch
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 30 Mar 2020 05:15:38 +0000 (13:15 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 30 Mar 2020 05:23:39 +0000 (13:23 +0800)
commit47d9bf84181234538e3e70790f5ed0ed2cdf35d6
tree2f001fc42d2309d66e347fadc182e83a51b68ede
parent1950340c697c537ab9d8d117f1b3ea08fe4bf1c1
qemu: fix building on mips arch

Add fallback zero value definition for MAP_SYNC etc. even when building
for CONFIG_LINUX.

Fixes openwrt/packages#11067

Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
utils/qemu/Makefile
utils/qemu/patches/0001-configure-allow-disable-fortify_source.patch
utils/qemu/patches/0002-configure-allow-enabling-disabling-libudev-from-comm.patch
utils/qemu/patches/0003-configure-enable-guest_agent-no-matter-whether-softm.patch
utils/qemu/patches/0004-disas-fix-compilation-failure-when-isnan-is-a-macro.patch
utils/qemu/patches/0005-pc-bios-fix-compilation-when-AS-is-actually-gcc-driv.patch
utils/qemu/patches/0006-util-mmap-alloc-fix-missing-MAP_SYNC.patch [new file with mode: 0644]