8 CFG_BOARDNAME
= "BIGSUR"
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
28 # Uncomment to make things happy under the functional simulator.
30 CFLAGS
+= -D_FUNCSIM_
-D_FASTEMUL_
33 # For now, we might do BCM1400 magic at compile time, not at run-time
34 # So, define this symbol to say what we're doing.
39 # Main target for normal builds
46 # Special targets for bi-endian builds
50 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=1 CFG_RELOC
=1
54 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=0 CFG_RELOC
=1
57 biend
: cfe-biendian.flash cfe-biendian.srec
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