[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 46/47] configure: Generate Kconfig.targets with --ta
From: |
Ákos Kovács |
Subject: |
[Qemu-devel] [PATCH 46/47] configure: Generate Kconfig.targets with --target-list |
Date: |
Mon, 26 Aug 2013 00:58:55 +0200 |
Signed-off-by: Ákos Kovács <address@hidden>
---
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
- [Qemu-devel] [PATCH 39/47] hw/sd/Kconfig: Add Kconfig file, (continued)
- [Qemu-devel] [PATCH 39/47] hw/sd/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 40/47] hw/ssi/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 41/47] hw/timer/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 42/47] hw/tpm/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 43/47] hw/usb/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 44/47] hw/watchdog/Kconfig: Add Kconfig file, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 45/47] hw/Kconfig: Add the main Kconfig for hw/, Ákos Kovács, 2013/08/25
- [Qemu-devel] [PATCH 46/47] configure: Generate Kconfig.targets with --target-list,
Ákos Kovács <=
- [Qemu-devel] [PATCH 47/47] Kconfig: Main kconfig file added, Ákos Kovács, 2013/08/25
- Re: [Qemu-devel] [RFC PATCH 00/47] Describing patchset, Peter Maydell, 2013/08/26