diff --git a/msvc/README.TXT b/msvc/README.TXT index 94f9a6d0..9ca6a8f2 100644 --- a/msvc/README.TXT +++ b/msvc/README.TXT @@ -132,7 +132,7 @@ QEMU_CFLAGS+=-include x86_64.h VERSION=2.2.1 PKGVERSION= SRC_PATH=/f/GitHub/unicorn/qemu - TARGET_DIRS=x86_64-softmmu arm-softmmu m68k-softmmu aarch64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu sparc-softmmu sparc64-softmmu + TARGET_LIST=x86_64-softmmu arm-softmmu m68k-softmmu aarch64-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu sparc-softmmu sparc64-softmmu GLIB_CFLAGS=-pthread -mms-bitfields -IC:/msys64/mingw32/include/glib-2.0 -IC:/msys64/mingw32/lib/glib-2.0/include CONFIG_ZERO_MALLOC=y CONFIG_CPUID_H=y diff --git a/qemu/Makefile b/qemu/Makefile index 69669456..fd354e55 100644 --- a/qemu/Makefile +++ b/qemu/Makefile @@ -21,8 +21,8 @@ seems to have been used for an in-tree build. You can fix this by running \ endif endif -CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_DIRS)),y) -CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_DIRS)),y) +CONFIG_SOFTMMU := $(if $(filter %-softmmu,$(TARGET_LIST)),y) +CONFIG_USER_ONLY := $(if $(filter %-user,$(TARGET_LIST)),y) CONFIG_ALL=y -include config-all-devices.mak @@ -68,8 +68,8 @@ $(call set-vpath, $(SRC_PATH)) LIBS+=-lz $(LIBS_TOOLS) SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory --quiet) BUILD_DIR=$(BUILD_DIR) -SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) -SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_DIRS)) +SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_LIST)) +SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %-config-devices.mak.d, $(TARGET_LIST)) ifeq ($(SUBDIR_DEVICES_MAK),) config-all-devices.mak: @@ -125,7 +125,7 @@ all: $(TOOLS) $(HELPERS-y) recurse-all modules config-host.h: config-host.h-timestamp config-host.h-timestamp: config-host.mak -SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) +SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_LIST)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) $(SOFTMMU_SUBDIR_RULES): $(block-obj-y) @@ -137,7 +137,7 @@ subdir-%: $(SUBDIR_RULES): qapi/qapi-types.c qapi/qapi-types.h qapi/qapi-visit.c qapi/qapi-visit.h $(common-obj-y) $(util-obj-y) -ALL_SUBDIRS=$(TARGET_DIRS) +ALL_SUBDIRS=$(TARGET_LIST) recurse-all: $(SUBDIR_RULES) @@ -194,7 +194,7 @@ distclean: clean rm -f config-host.mak config-host.h* config-host.ld qemu-img-cmds.texi qemu-monitor.texi rm -f config-all-devices.mak config-all-disas.mak rm -f config.log - for d in $(TARGET_DIRS); do \ + for d in $(TARGET_LIST); do \ rm -rf $$d || exit 1 ; \ done rm -Rf .sdk diff --git a/qemu/configure b/qemu/configure index 69b620c4..4a4251cc 100755 --- a/qemu/configure +++ b/qemu/configure @@ -1459,7 +1459,7 @@ if test "$static" = "yes" ; then echo "CONFIG_STATIC=y" >> $config_host_mak fi echo "SRC_PATH=$source_path" >> $config_host_mak -echo "TARGET_DIRS=$target_list" >> $config_host_mak +echo "TARGET_LIST=$target_list" >> $config_host_mak if test "$byteswap_h" = "yes" ; then echo "CONFIG_BYTESWAP_H=y" >> $config_host_mak fi diff --git a/qemu/scripts/create_config b/qemu/scripts/create_config index a2860021..69229b24 100755 --- a/qemu/scripts/create_config +++ b/qemu/scripts/create_config @@ -59,7 +59,7 @@ case $line in target_name=${line#*=} echo "#define TARGET_NAME \"$target_name\"" ;; - TARGET_DIRS=*) + TARGET_LIST=*) # do nothing ;; TARGET_*=y) # configuration