From patchwork Fri Sep 27 02:31:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?w4Frb3MgS292w6Fjcw==?= X-Patchwork-Id: 278442 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 1DE282C00C3 for ; Fri, 27 Sep 2013 13:01:11 +1000 (EST) Received: from localhost ([::1]:32790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPOIn-000265-0N for incoming@patchwork.ozlabs.org; Thu, 26 Sep 2013 23:01:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPNrH-0007v3-Ix for qemu-devel@nongnu.org; Thu, 26 Sep 2013 22:32:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPNrB-0007PA-PL for qemu-devel@nongnu.org; Thu, 26 Sep 2013 22:32:43 -0400 Received: from mail-ee0-x230.google.com ([2a00:1450:4013:c00::230]:40280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPNrB-0007Or-Io for qemu-devel@nongnu.org; Thu, 26 Sep 2013 22:32:37 -0400 Received: by mail-ee0-f48.google.com with SMTP id l10so896906eei.7 for ; Thu, 26 Sep 2013 19:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=OmpZ5D1VlsL+Ckj1njg+1Nlt+xHsWrulXkgInVDRVmU=; b=HQVNH7zD+cvw3yV0GbSudzBBqaMHpARBrUJKeFe6Dkjtg7YjqyEz3cLrkwEE7RdXO6 rcVnKUGkkOkPYkBxDLc47+y5L5cUlEdIOs2a2ZhdZvELFRCwfunX2rK9OBT511FJSA6K tfLx17eTI3M5oJU+5X0bFFoDeGZ9Q+SW9YhPKJJZ3ClRtPcib/LS+cOdZy/hD6vP02ML aHSQA+kE/m0Zm1wF44Kjfs4ESPWBa63smntJ74aFW7J6cqvAdBvGgeIexnHl5j7AU+Qb mGbUglk/Db3UASniGBKA4eWBdLFGsRA9ovEGrK0+NVeEXB3NKmBiU2da/WtC8iYf3zY4 NRmA== X-Received: by 10.15.98.194 with SMTP id bj42mr6551426eeb.12.1380249156740; Thu, 26 Sep 2013 19:32:36 -0700 (PDT) Received: from zion.teteny.elte.hu (zion.teteny.elte.hu. [157.181.96.43]) by mx.google.com with ESMTPSA id f49sm10573304eec.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 19:32:36 -0700 (PDT) From: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= To: qemu-devel@nongnu.org Date: Fri, 27 Sep 2013 04:31:20 +0200 Message-Id: <1380249092-4775-60-git-send-email-akoskovacs@gmx.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1380249092-4775-1-git-send-email-akoskovacs@gmx.com> References: <1380249092-4775-1-git-send-email-akoskovacs@gmx.com> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::230 Cc: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Subject: [Qemu-devel] [v2 59/71] configure: Generate Kconfig.targets with --target-list 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 Signed-off-by: Ákos Kovács --- configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure b/configure index cd01f05..8b94d2a 100755 --- a/configure +++ b/configure @@ -4288,6 +4288,7 @@ case "$target_name" in ;; sparc64) TARGET_BASE_ARCH=sparc + kconfig_subdirs="$kconfig_subdirs sparc64" ;; sparc32plus) TARGET_ARCH=sparc64 @@ -4311,6 +4312,7 @@ if [ "$TARGET_BASE_ARCH" = "" ]; then TARGET_BASE_ARCH=$TARGET_ARCH fi +kconfig_subdirs="$kconfig_subdirs $TARGET_BASE_ARCH" symlink "$source_path/Makefile.target" "$target_dir/Makefile" upper() { @@ -4494,6 +4496,15 @@ echo "QEMU_CFLAGS+=$cflags" >> $config_target_mak done # for target in $targets +# Generate Kconfig.targets +kconfig_targets="Kconfig.targets" +kconfig_subdirs=$(echo $kconfig_subdirs | tr ' ' '\n' | sort -u | tr '\n' ' ') +echo "# Automatically generated by configure - do not modify" > $kconfig_targets + +for i in $kconfig_subdirs ; do + echo "source \"hw/$i/Kconfig\"" >> $kconfig_targets +done + if [ "$pixman" = "internal" ]; then echo "config-host.h: subdir-pixman" >> $config_host_mak fi