8 CFG_BOARDNAME
= "BCM1250CPCI"
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
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_
42 # Special targets for bi-endian builds
46 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=1 CFG_RELOC
=1 CFG_MLONG64
=${CFG_MLONG64}
50 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=0 CFG_RELOC
=1 CFG_MLONG64
=${CFG_MLONG64}
53 biend
: cfe-biendian.flash cfe-biendian.srec
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
67 include ${TOP}/main
/cfe_link.mk