Skip to content

Commit

Permalink
configure: eliminate target_libs_softmmu
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
  • Loading branch information
bonzini authored and edgarigl committed Apr 18, 2013
1 parent f544a48 commit 2b6b709
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions configure
Expand Up @@ -3891,6 +3891,7 @@ fi

if test "$glx" = "yes" ; then
echo "CONFIG_GLX=y" >> $config_host_mak
echo "GLX_LIBS=$glx_libs" >> $config_host_mak
fi

if test "$libiscsi" = "yes" ; then
Expand Down Expand Up @@ -4164,7 +4165,6 @@ bflt="no"
target_nptl="no"
interp_prefix1=`echo "$interp_prefix" | sed "s/%M/$target_arch2/g"`
gdb_xml_files=""
target_libs_softmmu=

TARGET_ARCH="$target_arch2"
TARGET_BASE_ARCH=""
Expand All @@ -4189,7 +4189,6 @@ case "$target_arch2" in
target_nptl="yes"
;;
lm32)
target_libs_softmmu="$glx_libs"
;;
m68k)
bflt="yes"
Expand Down Expand Up @@ -4333,7 +4332,6 @@ if test "$target_bigendian" = "yes" ; then
fi
if test "$target_softmmu" = "yes" ; then
echo "CONFIG_SOFTMMU=y" >> $config_target_mak
echo "LIBS+=$target_libs_softmmu" >> $config_target_mak
case "$target_arch2" in
i386|x86_64)
echo "CONFIG_HAVE_CORE_DUMP=y" >> $config_target_mak
Expand Down
1 change: 1 addition & 0 deletions default-configs/lm32-softmmu.mak
Expand Up @@ -2,6 +2,7 @@

CONFIG_LM32=y
CONFIG_MILKYMIST=y
CONFIG_MILKYMIST_TMU2=$(CONFIG_GLX)
CONFIG_FRAMEBUFFER=y
CONFIG_PTIMER=y
CONFIG_PFLASH_CFI01=y
Expand Down
5 changes: 3 additions & 2 deletions hw/display/Makefile.objs
Expand Up @@ -18,8 +18,9 @@ common-obj-$(CONFIG_FRAMEBUFFER) += framebuffer.o
common-obj-$(CONFIG_MILKYMIST) += milkymist-vgafb.o
common-obj-$(CONFIG_ZAURUS) += tc6393xb.o

ifeq ($(CONFIG_GLX),y)
common-obj-$(CONFIG_MILKYMIST) += milkymist-tmu2.o
ifeq ($(CONFIG_MILKYMIST_TMU2),y)
common-obj-y += milkymist-tmu2.o
libs_softmmu += $(GLX_LIBS)
endif

obj-$(CONFIG_OMAP) += omap_dss.o
Expand Down

0 comments on commit 2b6b709

Please sign in to comment.