Only build qemu-img with softmmu targets.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3207 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
748e49932d
commit
c39e33380f
1
Makefile
1
Makefile
|
@ -13,7 +13,6 @@ BASE_LDFLAGS += $(OS_LDFLAGS) $(ARCH_LDFLAGS)
|
||||||
|
|
||||||
CPPFLAGS += -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
CPPFLAGS += -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
|
||||||
LIBS=
|
LIBS=
|
||||||
TOOLS=qemu-img$(EXESUF)
|
|
||||||
ifdef CONFIG_STATIC
|
ifdef CONFIG_STATIC
|
||||||
BASE_LDFLAGS += -static
|
BASE_LDFLAGS += -static
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -910,6 +910,12 @@ fi
|
||||||
|
|
||||||
echo "#define CONFIG_UNAME_RELEASE \"$uname_release\"" >> $config_h
|
echo "#define CONFIG_UNAME_RELEASE \"$uname_release\"" >> $config_h
|
||||||
|
|
||||||
|
tools=
|
||||||
|
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
|
||||||
|
tools="qemu-img\$(EXESUF) $tools"
|
||||||
|
fi
|
||||||
|
echo "TOOLS=$tools" >> $config_mak
|
||||||
|
|
||||||
test -f ${config_h}~ && cmp -s $config_h ${config_h}~ && mv ${config_h}~ $config_h
|
test -f ${config_h}~ && cmp -s $config_h ${config_h}~ && mv ${config_h}~ $config_h
|
||||||
|
|
||||||
for target in $target_list; do
|
for target in $target_list; do
|
||||||
|
|
Loading…
Reference in New Issue