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>
This commit is contained in:
Yousong Zhou
2020-03-30 13:15:38 +08:00
parent 1950340c69
commit 47d9bf8418
7 changed files with 57 additions and 9 deletions
@@ -1,8 +1,8 @@
From 296215421441b73bc6eb487f1d4e7e15e0510a77 Mon Sep 17 00:00:00 2001
From: Yousong Zhou <yszhou4tech@gmail.com>
Date: Fri, 7 Feb 2020 03:02:44 +0800
Subject: [PATCH 3/5] configure: enable guest_agent no matter whether softmmu
is enabled
Subject: [PATCH] configure: enable guest_agent no matter whether softmmu is
enabled
guest_agent as a tool to be run on guest machines does not depend on
whether there is a softmmu is to be built at this configure/make run