HELPER_CFLAGS+=-fomit-frame-pointer
endif
-ifeq ($(ARCH),sparc)
- CFLAGS+=-ffixed-g2 -ffixed-g3
- ifneq ($(CONFIG_SOLARIS),yes)
- CFLAGS+=-ffixed-g1 -ffixed-g6
- HELPER_CFLAGS+=-ffixed-i0
- endif
+ifeq ($(subst ppc64,ppc,$(ARCH))$(TARGET_BASE_ARCH),ppcppc)
+translate.o: CFLAGS := $(CFLAGS) $(call cc-option, $(CFLAGS), -fno-unit-at-a-time,)
endif
-ifeq ($(ARCH),sparc64)
+ifeq ($(ARCH),sparc)
ifneq ($(CONFIG_SOLARIS),yes)
- CFLAGS+=-ffixed-g5 -ffixed-g6 -ffixed-g7
- else
- CFLAGS+=-ffixed-g1 -ffixed-g4 -ffixed-g5 -ffixed-g7
+ HELPER_CFLAGS+=-ffixed-i0
endif
endif
OBJS+= tsc2005.o bt-hci-csr.o
OBJS+= mst_fpga.o mainstone.o
OBJS+= musicpal.o pflash_cfi02.o
+OBJS+= framebuffer.o
CPPFLAGS += -DHAS_AUDIO
endif
ifeq ($(TARGET_BASE_ARCH), sh4)
main.o: CFLAGS+=-p
endif
+vl.o: qemu-options.h
+
$(QEMU_PROG): LIBS += $(SDL_LIBS) $(COCOA_LIBS) $(CURSES_LIBS) $(BRLAPI_LIBS) $(VDE_LIBS)
$(QEMU_PROG): $(OBJS) ../libqemu_common.a libqemu.a
endif # !CONFIG_USER_ONLY
gdbstub-xml.c: $(TARGET_XML_FILES) feature_to_c.sh
- rm -f $@
ifeq ($(TARGET_XML_FILES),)
- echo > $@
+ $(call quiet-command,rm -f $@ && echo > $@," GEN $(TARGET_DIR)$@")
else
- $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)
+ $(call quiet-command,rm -f $@ && $(SHELL) $(SRC_PATH)/feature_to_c.sh $@ $(TARGET_XML_FILES)," GEN $(TARGET_DIR)$@")
endif
+qemu-options.h: $(SRC_PATH)/qemu-options.hx
+ $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@")
+
clean:
- rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o
+ rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h
rm -f *.d */*.d tcg/*.o
install: all