Revision fdf9b3e8 Makefile.target
b/Makefile.target | ||
---|---|---|
225 | 225 |
LIBOBJS+= op_helper.o helper.o |
226 | 226 |
endif |
227 | 227 |
|
228 |
ifeq ($(TARGET_BASE_ARCH), sh4) |
|
229 |
LIBOBJS+= op_helper.o helper.o |
|
230 |
endif |
|
231 |
|
|
228 | 232 |
# NOTE: the disassembler code is only needed for debugging |
229 | 233 |
LIBOBJS+=disas.o |
230 | 234 |
ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386) |
... | ... | |
254 | 258 |
ifeq ($(findstring m68k, $(TARGET_ARCH) $(ARCH)),m68k) |
255 | 259 |
LIBOBJS+=m68k-dis.o |
256 | 260 |
endif |
261 |
ifeq ($(findstring sh4, $(TARGET_ARCH) $(ARCH)),sh4) |
|
262 |
LIBOBJS+=sh4-dis.o |
|
263 |
endif |
|
257 | 264 |
|
258 | 265 |
ifdef CONFIG_GDBSTUB |
259 | 266 |
OBJS+=gdbstub.o |
... | ... | |
341 | 348 |
VL_OBJS+= integratorcp.o versatilepb.o ps2.o smc91c111.o arm_pic.o arm_timer.o |
342 | 349 |
VL_OBJS+= pl011.o pl050.o pl080.o pl110.o pl190.o |
343 | 350 |
endif |
351 |
ifeq ($(TARGET_BASE_ARCH), sh4) |
|
352 |
VL_OBJS+= shix.o sh7750.o sh7750_regnames.o tc58128.o |
|
353 |
endif |
|
344 | 354 |
ifdef CONFIG_GDBSTUB |
345 | 355 |
VL_OBJS+=gdbstub.o |
346 | 356 |
endif |
... | ... | |
462 | 472 |
|
463 | 473 |
loader.o: loader.c elf_ops.h |
464 | 474 |
|
475 |
ifeq ($(TARGET_ARCH), sh4) |
|
476 |
op.o: op.c op_mem.c cpu.h |
|
477 |
op_helper.o: op_helper.c exec.h cpu.h |
|
478 |
helper.o: helper.c exec.h cpu.h |
|
479 |
sh7750.o: sh7750.c sh7750.h sh7750_regs.h sh7750_regnames.h cpu.h |
|
480 |
shix.o: shix.c sh7750.h sh7750_regs.h sh7750_regnames.h tc58128.h |
|
481 |
sh7750_regnames.o: sh7750_regnames.c sh7750_regnames.h sh7750_regs.h |
|
482 |
tc58128.o: tc58128.c tc58128.h sh7750.h |
|
483 |
endif |
|
484 |
|
|
465 | 485 |
%.o: %.c |
466 | 486 |
$(CC) $(CFLAGS) $(DEFINES) -c -o $@ $< |
467 | 487 |
|
Also available in: Unified diff