GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / cfe / build / broadcom / bcm91125e / Makefile
blob74b871f853dfbd108965b249482e4aa48d8634ba
2 CFG_MLONG64 ?= 1
3 CFG_LITTLE ?= 0
4 CFG_RELOC ?= 1
5 CFG_UNCACHED ?= 0
6 CFG_VAPI ?= 0
7 CFG_BOOTRAM ?= 0
8 CFG_BOARDNAME = "BCM91125E"
9 CFG_PCI = 1
11 TOP = ../../../cfe
12 ARCH = mips
13 CPU = sb1250
14 BOARD = bcm91125e
16 include ${TOP}/main/cfe.mk
19 # Don't clean these object files if building bi-endian.
20 # To build a clean bi-endian flash image, use "gmake clean cfe-biendian.flash"
23 ifeq ($(strip ${CFG_BIENDIAN}),0)
24 CLEANOBJS += cfe.bin.le cfe.bin.be
25 endif
28 # Uncomment to make things happy under the functional simulator.
30 #CFLAGS += -D_FUNCSIM_ -D_FASTEMUL_
33 # For now, we do the BCM11xx magic at compile time, not at run-time
34 # So, define this symbol to tweak the MC code and other stuff
35 # to work properly.
37 CFLAGS += -D_SB11XX_
39 # Main target for normal builds
42 ALL : cfe cfe.flash
43 echo done
46 # Special targets for bi-endian builds
49 cfe.bin.le :
50 ${MAKE} clean all CFG_BIENDIAN=1 CFG_LITTLE=1 CFG_RELOC=1
51 cp cfe.bin cfe.bin.le
53 cfe.bin.be :
54 ${MAKE} clean all CFG_BIENDIAN=1 CFG_LITTLE=0 CFG_RELOC=1
55 cp cfe.bin cfe.bin.be
57 biend : cfe-biendian.flash cfe-biendian.srec
58 echo done
60 cfe-biendian.flash : cfe.bin.le cfe.bin.be mkflashimage
61 ./mkflashimage -v -EX -B ${CFG_BOARDNAME} -V ${CFE_VER_MAJ}.${CFE_VER_MIN}.${CFE_VER_ECO} cfe.bin.be cfe.bin.le cfe-biendian.flash
63 cfe-biendian.srec : cfe-biendian.flash
64 dd if=cfe-biendian.flash of=cfe-biendian.bin bs=64 skip=1
65 $(OBJCOPY) --input-target=binary --output-target=srec cfe-biendian.bin cfe-biendian.srec
68 include ${TOP}/main/cfe_link.mk