Received: from eggs.gnu.org ([2001:4830:134:3::10]:54956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDjI2-0005iT-2o for qemu-devel@nongnu.org; Sun, 25 Aug 2013 19:00:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDjHw-0006XY-0V for qemu-devel@nongnu.org; Sun, 25 Aug 2013 19:00:09 -0400 Received: from mail-ee0-x235.google.com ([2a00:1450:4013:c00::235]:39789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDjHv-0006Vc-Qu for qemu-devel@nongnu.org; Sun, 25 Aug 2013 19:00:03 -0400 Received: by mail-ee0-f53.google.com with SMTP id b15so1266253eek.40 for ; Sun, 25 Aug 2013 16:00:03 -0700 (PDT) Sender: =?UTF-8?B?w4Frb3MgS292w6Fjcw==?= From: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Date: Mon, 26 Aug 2013 00:58:55 +0200 Message-Id: <1377471536-12423-47-git-send-email-akoskovacs@gmx.com> In-Reply-To: <1377471536-12423-1-git-send-email-akoskovacs@gmx.com> References: <1377471536-12423-1-git-send-email-akoskovacs@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 46/47] configure: Generate Kconfig.targets with --target-list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Signed-off-by: Ákos Kovács --- configure | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure b/configure index 18fa608..353c0cb 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 -- 1.7.10.4