GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / cfe / cfe / arch / mips / common / src / Makefile
blob4ec9f9f1592109cfa3dd5e500e5c12509556ff09
3 # This is just a Makefile fragment -- it is included by the master
4 # makefile, cfe.mk
6 # This file should just append object file names to "ALLOBJS",
7 # but since it is mean to be linked *first*, it will append
8 # modules to "CRT0OBJS"
11 ifndef INIT_MIPS
12 INIT_MIPS = init_mips.o
13 endif
15 ifeq ($(strip ${CFG_UNCACHED_RAMAPP}),1)
16 CRT0OBJS += init_ram.o exception.o
17 else
18 ifeq ($(strip ${CFG_RAMAPP}),1)
19 CRT0OBJS += init_ram.o exception.o
20 else
21 CRT0OBJS += $(INIT_MIPS) exception.o
22 endif
23 endif
25 ALLOBJS += lib_hssubr.o lib_setjmp.o disasm.o mips_arena.o exchandler.o
26 ALLOBJS += ui_memtest.o
29 # Use the relocatable self-write engine
31 ifneq ($(strip ${CFG_FLASH}),1)
32 ALLOBJS += dev_flash_all.o dev_flashop_engine.o
33 endif
35 makereg : ${TOP}/hosttools/makereg.c
36 gcc -o makereg ${TOP}/hosttools/makereg.c
38 %.inc : %.regdef makereg
39 ./makereg $< $@
41 ui_soccmds.o : ${CPU_SRC}/ui_soccmds.c ${CPU}_socregs.inc
43 vapi.o : ${TOP}/verif/vapi.S sb1250_socregs.inc