From patchwork Sat Jun 9 11:56:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 163913 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A7C9BB6FD7 for ; Sat, 9 Jun 2012 21:57:16 +1000 (EST) Received: from localhost ([::1]:46322 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdKI5-0004YG-3L for incoming@patchwork.ozlabs.org; Sat, 09 Jun 2012 07:57:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdKHx-0004XR-UL for qemu-devel@nongnu.org; Sat, 09 Jun 2012 07:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SdKHu-0007Yw-Uq for qemu-devel@nongnu.org; Sat, 09 Jun 2012 07:57:05 -0400 Received: from cantor2.suse.de ([195.135.220.15]:51990 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SdKHu-0007Yd-Oc; Sat, 09 Jun 2012 07:57:02 -0400 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 96BCD8FA97; Sat, 9 Jun 2012 13:57:00 +0200 (CEST) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: qemu-devel@nongnu.org Date: Sat, 9 Jun 2012 13:56:42 +0200 Message-Id: <1339243002-13760-1-git-send-email-afaerber@suse.de> X-Mailer: git-send-email 1.7.7 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: qemu-trivial@nongnu.org, pbonzini@redhat.com, =?UTF-8?q?Andreas=20F=C3=A4rber?= Subject: [Qemu-devel] [PATCH] Makefile.user: Define CONFIG_USER_ONLY for libuser/ X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 Reviewed-by: Paolo Bonzini --- 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