diff options
author | Andreas Färber <afaerber@suse.de> | 2012-06-09 13:56:42 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-06-22 09:41:31 +0100 |
commit | fc8c5b8c41ee5ba69d7a2be63b02a08c7b0b155b (patch) | |
tree | bf40a2d854d672dbb251476c94123f47f838ca66 | |
parent | 8f0e5c6bb724671350df783c8bdb7ef8f54c4221 (diff) |
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.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r-- | Makefile.user | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.user b/Makefile.user index 0ffefe813f..1783b2a257 100644 --- a/Makefile.user +++ b/Makefile.user @@ -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 |