8 CFG_BOARDNAME
= "SENTOSA_F"
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
33 # Special targets for bi-endian builds
37 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=1 CFG_RELOC
=1 CFG_MLONG64
=${CFG_MLONG64}
41 ${MAKE} clean all CFG_BIENDIAN
=1 CFG_LITTLE
=0 CFG_RELOC
=1 CFG_MLONG64
=${CFG_MLONG64}
44 biend
: cfe-biendian.flash cfe-biendian.srec
47 cfe-biendian.flash
: cfe.bin.le cfe.bin.be mkflashimage
48 .
/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
50 cfe-biendian.srec
: cfe-biendian.flash
51 dd if
=cfe-biendian.flash of
=cfe-biendian.bin bs
=64 skip
=1
52 $(OBJCOPY
) --input-target
=binary
--output-target
=srec cfe-biendian.bin cfe-biendian.srec
54 include ${TOP}/main
/cfe_link.mk