GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / cfe / build / broadcom / bcm1250cpci / Makefile
blob300f6c731605d3bba04ca271e04ef53972578090
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 = "BCM1250CPCI"
9 CFG_PCI = 1
10 CFG_DOWNLOAD = 0
12 TOP = ../../../cfe
13 ARCH = mips
14 BOARD = bcm1250cpci
15 CPU = sb1250
18 include ${TOP}/main/cfe.mk
21 # Don't clean these object files if building bi-endian.
22 # To build a clean bi-endian flash image, use "gmake clean cfe-biendian.flash"
25 ifeq ($(strip ${CFG_BIENDIAN}),0)
26 CLEANOBJS += cfe.bin.le cfe.bin.be
27 endif
30 # These settings speed up the cache init by not doing too much of it. This helps
31 # boot time in the sim. It also adjusts timers and other hardware stuff
32 # for running in the functional simulator (mostly changes CPU speed to
33 # 500Khz). Remove this before using on real hardware.
35 # CFLAGS += -D_FASTEMUL_ -D_FUNCSIM_
38 ALL : cfe cfe.flash
39 echo done
42 # Special targets for bi-endian builds
45 cfe.bin.le :
46 ${MAKE} clean all CFG_BIENDIAN=1 CFG_LITTLE=1 CFG_RELOC=1 CFG_MLONG64=${CFG_MLONG64}
47 cp cfe.bin cfe.bin.le
49 cfe.bin.be :
50 ${MAKE} clean all CFG_BIENDIAN=1 CFG_LITTLE=0 CFG_RELOC=1 CFG_MLONG64=${CFG_MLONG64}
51 cp cfe.bin cfe.bin.be
53 biend : cfe-biendian.flash cfe-biendian.srec
54 echo done
56 cfe-biendian.flash : cfe.bin.le cfe.bin.be mkflashimage
57 ./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
59 cfe-biendian.srec : cfe-biendian.flash
60 dd if=cfe-biendian.flash of=cfe-biendian.bin bs=64 skip=1
61 $(OBJCOPY) --input-target=binary --output-target=srec cfe-biendian.bin cfe-biendian.srec
64 # Linker script
67 include ${TOP}/main/cfe_link.mk