diff options
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Makefile.target b/Makefile.target index 6eed85387..f89a9ecc1 100644 --- a/Makefile.target +++ b/Makefile.target @@ -91,19 +91,13 @@ ifeq ($(ARCH),i386) 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 @@ -754,6 +748,7 @@ OBJS+= nseries.o blizzard.o onenand.o vga.o cbus.o tusb6010.o usb-musb.o 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) @@ -832,15 +827,15 @@ else endif qemu-options.h: $(SRC_PATH)/qemu-options.hx - sh $(SRC_PATH)/hxtool -h < $< > $@ + $(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $(TARGET_DIR)$@") clean: - rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h + rm -f *.o *.a *~ $(PROGS) nwfpe/*.o fpu/*.o qemu-options.h gdbstub-xml.c rm -f *.d */*.d tcg/*.o install: all ifneq ($(PROGS),) - $(INSTALL) -m 755 $(PROGS) "$(DESTDIR)$(bindir)" + $(INSTALL) -m 755 $(STRIP_OPT) $(PROGS) "$(DESTDIR)$(bindir)" endif # Include automatically generated dependency files |