Revision 8bdd3d49

b/Makefile
52 52
SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS))
53 53
SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %/config-devices.mak.d, $(TARGET_DIRS))
54 54

  
55
ifeq ($(SUBDIR_DEVICES_MAK),)
56
config-all-devices.mak:
57
	$(call quiet-command,echo '# no devices' > $@,"  GEN   $@")
58
else
55 59
config-all-devices.mak: $(SUBDIR_DEVICES_MAK)
56 60
	$(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep =y | sort -u > $@,"  GEN   $@")
61
endif
57 62

  
58 63
-include $(SUBDIR_DEVICES_MAK_DEP)
59 64

  
b/configure
1286 1286
else
1287 1287
    target_list=`echo "$target_list" | sed -e 's/,/ /g'`
1288 1288
fi
1289
if test -z "$target_list" ; then
1290
    echo "No targets enabled"
1291
    exit 1
1292
fi
1293 1289
# see if system emulation was really requested
1294 1290
case " $target_list " in
1295 1291
  *"-softmmu "*) softmmu=yes

Also available in: Unified diff