mirror of https://github.com/xemu-project/xemu.git
Rename LIBOBJS to libobj-y
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
4f3a1d56e4
commit
c9e0df7389
|
@ -134,43 +134,42 @@ all: $(PROGS)
|
||||||
|
|
||||||
#########################################################
|
#########################################################
|
||||||
# cpu emulator library
|
# cpu emulator library
|
||||||
LIBOBJS=exec.o translate-all.o cpu-exec.o\
|
libobj-y = exec.o translate-all.o cpu-exec.o translate.o host-utils.o
|
||||||
translate.o host-utils.o
|
|
||||||
ifdef CONFIG_KQEMU
|
ifdef CONFIG_KQEMU
|
||||||
LIBOBJS+= kqemu.o
|
libobj-y += kqemu.o
|
||||||
endif
|
endif
|
||||||
# TCG code generator
|
# TCG code generator
|
||||||
LIBOBJS+= tcg/tcg.o tcg/tcg-runtime.o
|
libobj-y += tcg/tcg.o tcg/tcg-runtime.o
|
||||||
CPPFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH)
|
CPPFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH)
|
||||||
ifeq ($(ARCH),sparc64)
|
ifeq ($(ARCH),sparc64)
|
||||||
CPPFLAGS+=-I$(SRC_PATH)/tcg/sparc
|
CPPFLAGS+=-I$(SRC_PATH)/tcg/sparc
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_SOFTFLOAT
|
ifdef CONFIG_SOFTFLOAT
|
||||||
LIBOBJS+=fpu/softfloat.o
|
libobj-y += fpu/softfloat.o
|
||||||
else
|
else
|
||||||
LIBOBJS+=fpu/softfloat-native.o
|
libobj-y += fpu/softfloat-native.o
|
||||||
endif
|
endif
|
||||||
CPPFLAGS+=-I$(SRC_PATH)/fpu
|
CPPFLAGS+=-I$(SRC_PATH)/fpu
|
||||||
LIBOBJS+= op_helper.o helper.o
|
libobj-y += op_helper.o helper.o
|
||||||
|
|
||||||
ifeq ($(TARGET_BASE_ARCH), arm)
|
ifeq ($(TARGET_BASE_ARCH), arm)
|
||||||
LIBOBJS+= neon_helper.o iwmmxt_helper.o
|
libobj-y += neon_helper.o iwmmxt_helper.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_BASE_ARCH), alpha)
|
ifeq ($(TARGET_BASE_ARCH), alpha)
|
||||||
LIBOBJS+= alpha_palcode.o
|
libobj-y += alpha_palcode.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(TARGET_BASE_ARCH), cris)
|
ifeq ($(TARGET_BASE_ARCH), cris)
|
||||||
LIBOBJS+= cris-dis.o
|
libobj-y += cris-dis.o
|
||||||
|
|
||||||
ifndef CONFIG_USER_ONLY
|
ifndef CONFIG_USER_ONLY
|
||||||
LIBOBJS+= mmu.o
|
libobj-y += mmu.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# NOTE: the disassembler code is only needed for debugging
|
# NOTE: the disassembler code is only needed for debugging
|
||||||
LIBOBJS+=disas.o
|
libobj-y += disas.o
|
||||||
ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386)
|
ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386)
|
||||||
USE_I386_DIS=y
|
USE_I386_DIS=y
|
||||||
endif
|
endif
|
||||||
|
@ -178,45 +177,45 @@ ifeq ($(findstring x86_64, $(TARGET_ARCH) $(ARCH)),x86_64)
|
||||||
USE_I386_DIS=y
|
USE_I386_DIS=y
|
||||||
endif
|
endif
|
||||||
ifdef USE_I386_DIS
|
ifdef USE_I386_DIS
|
||||||
LIBOBJS+=i386-dis.o
|
libobj-y += i386-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring alpha, $(TARGET_ARCH) $(ARCH)),alpha)
|
ifeq ($(findstring alpha, $(TARGET_ARCH) $(ARCH)),alpha)
|
||||||
LIBOBJS+=alpha-dis.o
|
libobj-y += alpha-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring ppc, $(TARGET_BASE_ARCH) $(ARCH)),ppc)
|
ifeq ($(findstring ppc, $(TARGET_BASE_ARCH) $(ARCH)),ppc)
|
||||||
LIBOBJS+=ppc-dis.o
|
libobj-y += ppc-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring microblaze, $(TARGET_BASE_ARCH) $(ARCH)),microblaze)
|
ifeq ($(findstring microblaze, $(TARGET_BASE_ARCH) $(ARCH)),microblaze)
|
||||||
LIBOBJS+=microblaze-dis.o
|
libobj-y += microblaze-dis.o
|
||||||
ifndef CONFIG_USER_ONLY
|
ifndef CONFIG_USER_ONLY
|
||||||
LIBOBJS+= mmu.o
|
libobj-y += mmu.o
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring mips, $(TARGET_BASE_ARCH) $(ARCH)),mips)
|
ifeq ($(findstring mips, $(TARGET_BASE_ARCH) $(ARCH)),mips)
|
||||||
LIBOBJS+=mips-dis.o
|
libobj-y += mips-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring sparc, $(TARGET_BASE_ARCH) $(ARCH)),sparc)
|
ifeq ($(findstring sparc, $(TARGET_BASE_ARCH) $(ARCH)),sparc)
|
||||||
LIBOBJS+=sparc-dis.o
|
libobj-y += sparc-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring arm, $(TARGET_ARCH) $(ARCH)),arm)
|
ifeq ($(findstring arm, $(TARGET_ARCH) $(ARCH)),arm)
|
||||||
LIBOBJS+=arm-dis.o
|
libobj-y += arm-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring m68k, $(TARGET_ARCH) $(ARCH)),m68k)
|
ifeq ($(findstring m68k, $(TARGET_ARCH) $(ARCH)),m68k)
|
||||||
LIBOBJS+=m68k-dis.o
|
libobj-y += m68k-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring sh4, $(TARGET_ARCH) $(ARCH)),sh4)
|
ifeq ($(findstring sh4, $(TARGET_ARCH) $(ARCH)),sh4)
|
||||||
LIBOBJS+=sh4-dis.o
|
libobj-y += sh4-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring hppa, $(TARGET_BASE_ARCH) $(ARCH)),hppa)
|
ifeq ($(findstring hppa, $(TARGET_BASE_ARCH) $(ARCH)),hppa)
|
||||||
LIBOBJS+=hppa-dis.o
|
libobj-y += hppa-dis.o
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring s390, $(TARGET_ARCH) $(ARCH)),s390)
|
ifeq ($(findstring s390, $(TARGET_ARCH) $(ARCH)),s390)
|
||||||
LIBOBJS+=s390-dis.o
|
libobj-y += s390-dis.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# libqemu
|
# libqemu
|
||||||
|
|
||||||
libqemu.a: $(LIBOBJS)
|
libqemu.a: $(libobj-y)
|
||||||
|
|
||||||
translate.o: translate.c cpu.h
|
translate.o: translate.c cpu.h
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue