From mboxrd@z Thu Jan 1 00:00:00 1970 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) Sender: =?UTF-8?B?w4Frb3MgS292w6Fjcw==?= From: =?UTF-8?q?=C3=81kos=20Kov=C3=A1cs?= Date: Fri, 27 Sep 2013 04:31:20 +0200 Message-Id: <1380249092-4775-60-git-send-email-akoskovacs@gmx.com> 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [v2 59/71] 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 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 -- 1.8.1.2