Makefile.user: Define CONFIG_USER_ONLY for libuser/
PATCH 1/1 Makefile.user: Define CONFIG_USER_ONLY for libuser/
In *-*-user/ build dirs CONFIG_USER_ONLY is defined via config-target.h. In libuser/ it is not defined.
Add it via QEMU_CFLAGS.
---
Soon needed for cpu.c.
Makefile.user | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Makefile.user +1 -0
@@ -10,6 +10,7 @@ $(call set-vpath, $(SRC_PATH)) QEMU_CFLAGS+=-I.. QEMU_CFLAGS += -I$(SRC_PATH)/include +QEMU_CFLAGS += -DCONFIG_USER_ONLY include $(SRC_PATH)/Makefile.objs
Signature · 1 line
1.7.7
----- Messaggio originale -----
Quoted 6 lines
Da: "Andreas Färber" <[email protected]>
A: [email protected]
Cc: [email protected], [email protected], "Andreas Färber" <[email protected]>
Inviato: Sabato, 9 giugno 2012 13:56:42
Oggetto: [PATCH] Makefile.user: DefineCONFIG_USER_ONLYfor libuser/
Quoted 7 lines
In *-*-user/ build dirs
CONFIG_USER_ONLYis defined viaconfig-target.h.
In libuser/ it is not defined.Add it via
QEMU_CFLAGS.Signed-off-by Andreas Färber <[email protected]>
Paolo
Quoted 22 lines
---
Soon needed forcpu.c.Makefile.user | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)Makefile.user +1
-1@@ -10,6 +10,7 @@ $(call set-vpath, $(SRC_PATH)) QEMU_CFLAGS+=-I.. QEMU_CFLAGS += -I$(SRC_PATH)/include +QEMU_CFLAGS += -DCONFIG_USER_ONLY include $(SRC_PATH)/Makefile.objs --1.7.7
Stefan Hajnoczi
AppliedQuoted 11 lines · Andreas Färber
In *-*-user/ build dirs
CONFIG_USER_ONLYis defined viaconfig-target.h. In libuser/ it is not defined.Add it via
QEMU_CFLAGS.Signed-off-by Andreas Färber <[email protected]>---
Soon needed forcpu.c.Makefile.user | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches
Stefan