[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Makefile.user: Define CONFIG_USER_ONLY for libu
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] Makefile.user: Define CONFIG_USER_ONLY for libuser/ |
Date: |
Mon, 11 Jun 2012 01:51:16 -0400 (EDT) |
----- Messaggio originale -----
> Da: "Andreas Färber" <address@hidden>
> A: address@hidden
> Cc: address@hidden, address@hidden, "Andreas Färber" <address@hidden>
> Inviato: Sabato, 9 giugno 2012 13:56:42
> Oggetto: [PATCH] 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 <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Paolo
> ---
> Soon needed for cpu.c.
>
> Makefile.user | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile.user b/Makefile.user
> index b717820..ab70eb3 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
>
> --
> 1.7.7
>
>