Revision 1f3d3c8f

b/.gitignore
1
config-devices.*
2
config-all-devices.*
1 3
config-host.*
2 4
config-target.*
3 5
i386
b/Makefile
33 33
endif
34 34

  
35 35
SUBDIR_MAKEFLAGS=$(if $(V),,--no-print-directory)
36
SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS))
37

  
38
config-all-devices.mak: $(SUBDIR_DEVICES_MAK)
39
	$(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep "=y$$" | sort -u > $@,"  GEN  $@")
40

  
41
-include config-all-devices.mak
36 42

  
37 43
build-all: config-host.h
38 44
	$(call quiet-command, $(MAKE) $(SUBDIR_MAKEFLAGS) $(TOOLS) $(DOCS) recurse-all,)
......
203 209

  
204 210
distclean: clean
205 211
	rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi
212
	rm -f config-all-devices.mak config-all-devices.h*
206 213
	rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
207 214
	for d in $(TARGET_DIRS) libhw32 libhw64 libuser; do \
208 215
	rm -rf $$d || exit 1 ; \
b/Makefile.hw
1 1
# Makefile for qemu target independent devices.
2 2

  
3 3
include ../config-host.mak
4
include ../config-all-devices.mak
4 5
include config.mak
5 6
include $(SRC_PATH)/rules.mak
6 7

  
b/Makefile.target
1 1
# -*- Mode: makefile -*-
2 2

  
3 3
include ../config-host.mak
4
include config-devices.mak
4 5
include config-target.mak
5 6
include $(SRC_PATH)/rules.mak
6 7

  
b/configure
2076 2076
config_target_mak=$target_dir/config-target.mak
2077 2077
target_arch2=`echo $target | cut -d '-' -f 1`
2078 2078
target_bigendian="no"
2079

  
2079 2080
case "$target_arch2" in
2080 2081
  armeb|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|sh4eb|sparc|sparc64|sparc32plus)
2081 2082
  target_bigendian=yes
......
2116 2117
  mkdir -p $target_dir/nwfpe
2117 2118
fi
2118 2119

  
2120
if test ! -f $target_dir/config-devices.mak ; then
2121
  cp $source_path/default-configs/${target}.mak $target_dir/config-devices.mak
2122
fi
2123

  
2119 2124
#
2120 2125
# don't use ln -sf as not all "ln -sf" over write the file/link
2121 2126
#
b/default-configs/alpha-linux-user.mak
1
# Default configuration for alpha-linux-user
b/default-configs/arm-linux-user.mak
1
# Default configuration for arm-linux-user
b/default-configs/arm-softmmu.mak
1
# Default configuration for arm-softmmu
b/default-configs/armeb-linux-user.mak
1
# Default configuration for armeb-linux-user
b/default-configs/cris-linux-user.mak
1
# Default configuration for cris-linux-user
b/default-configs/cris-softmmu.mak
1
# Default configuration for cris-softmmu
b/default-configs/i386-bsd-user.mak
1
# Default configuration for i386-bsd-user
b/default-configs/i386-darwin-user.mak
1
# Default configuration for i386-darwin-user
b/default-configs/i386-linux-user.mak
1
# Default configuration for i386-linux-user
b/default-configs/i386-softmmu.mak
1
# Default configuration for i386-softmmu
b/default-configs/m68k-linux-user.mak
1
# Default configuration for m68k-linux-user
b/default-configs/m68k-softmmu.mak
1
# Default configuration for m68k-softmmu
b/default-configs/microblaze-linux-user.mak
1
# Default configuration for microblaze-linux-user
b/default-configs/microblaze-softmmu.mak
1
# Default configuration for microblaze-softmmu
b/default-configs/mips-linux-user.mak
1
# Default configuration for mips-linux-user
b/default-configs/mips-softmmu.mak
1
# Default configuration for mips-softmmu
b/default-configs/mips64-softmmu.mak
1
# Default configuration for mips64-softmmu
b/default-configs/mips64el-softmmu.mak
1
# Default configuration for mips64el-softmmu
b/default-configs/mipsel-linux-user.mak
1
# Default configuration for mipsel-linux-user
b/default-configs/mipsel-softmmu.mak
1
# Default configuration for mipsel-softmmu
b/default-configs/ppc-darwin-user.mak
1
# Default configuration for ppc-darwin-user
b/default-configs/ppc-linux-user.mak
1
# Default configuration for ppc-linux-user
b/default-configs/ppc-softmmu.mak
1
# Default configuration for ppc-softmmu
b/default-configs/ppc64-linux-user.mak
1
# Default configuration for ppc64-linux-user
b/default-configs/ppc64-softmmu.mak
1
# Default configuration for ppc64-softmmu
b/default-configs/ppc64abi32-linux-user.mak
1
# Default configuration for ppc64abi32-linux-user
b/default-configs/ppcemb-softmmu.mak
1
# Default configuration for ppcemb-softmmu
b/default-configs/sh4-linux-user.mak
1
# Default configuration for sh4-linux-user
b/default-configs/sh4-softmmu.mak
1
# Default configuration for sh4-softmmu
b/default-configs/sh4eb-linux-user.mak
1
# Default configuration for sh4eb-linux-user
b/default-configs/sh4eb-softmmu.mak
1
# Default configuration for sh4eb-softmmu
b/default-configs/sparc-bsd-user.mak
1
# Default configuration for sparc-bsd-user
b/default-configs/sparc-linux-user.mak
1
# Default configuration for sparc-linux-user
b/default-configs/sparc-softmmu.mak
1
# Default configuration for sparc-softmmu
b/default-configs/sparc32plus-linux-user.mak
1
# Default configuration for sparc32plus-linux-user
b/default-configs/sparc64-bsd-user.mak
1
# Default configuration for sparc64-bsd-user
b/default-configs/sparc64-linux-user.mak
1
# Default configuration for sparc64-linux-user
b/default-configs/sparc64-softmmu.mak
1
# Default configuration for sparc64-softmmu
b/default-configs/x86_64-bsd-user.mak
1
# Default configuration for x86_64-bsd-user
b/default-configs/x86_64-linux-user.mak
1
# Default configuration for x86_64-linux-user
b/default-configs/x86_64-softmmu.mak
1
# Default configuration for x86_64-softmmu

Also available in: Unified diff