3 # Determine number of CPU cores if no default was set
4 : ${BUILD_NCPUS:="`getconf _NPROCESSORS_ONLN`"}
6 if [ "$BUILD_NCPUS" -gt 1 ]
8 JOBS
=-j`expr "$BUILD_NCPUS" + 1`
14 if [ "${CROSS_COMPILE}" ] ; then
15 MAKE
="make CROSS_COMPILE=${CROSS_COMPILE}"
20 if [ "${MAKEALL_LOGDIR}" ] ; then
21 LOG_DIR
=${MAKEALL_LOGDIR}
26 if [ ! "${BUILD_DIR}" ] ; then
30 [ -d ${LOG_DIR} ] || mkdir
${LOG_DIR} ||
exit 1
34 #########################################################################
36 #########################################################################
42 #########################################################################
44 #########################################################################
74 #########################################################################
76 #########################################################################
82 #########################################################################
84 #########################################################################
162 #########################################################################
164 #########################################################################
253 xilinx-ppc440-generic \
254 xilinx-ppc440-generic_flash \
262 #########################################################################
264 #########################################################################
271 #########################################################################
273 #########################################################################
297 #########################################################################
298 ## MPC8260 Systems (includes 8250, 8255 etc.)
299 #########################################################################
333 #########################################################################
334 ## MPC83xx Systems (includes 8349, etc.)
335 #########################################################################
339 MPC8313ERDB_NAND_66 \
359 #########################################################################
360 ## MPC85xx Systems (includes 8540, 8560 etc.)
361 #########################################################################
392 #########################################################################
394 #########################################################################
402 #########################################################################
404 #########################################################################
426 #########################################################################
428 #########################################################################
452 #########################################################################
454 #########################################################################
464 #########################################################################
466 #########################################################################
482 #########################################################################
484 #########################################################################
522 #########################################################################
524 #########################################################################
530 #########################################################################
532 #########################################################################
543 #########################################################################
545 #########################################################################
562 #########################################################################
564 #########################################################################
593 #########################################################################
595 #########################################################################
608 #########################################################################
609 ## MIPS Systems (default = big endian)
610 #########################################################################
636 #########################################################################
637 ## MIPS Systems (little endian)
638 #########################################################################
655 #########################################################################
657 #########################################################################
669 #########################################################################
671 #########################################################################
676 ADNPESC1_DNPEVA2_base_32\
684 #########################################################################
686 #########################################################################
696 #########################################################################
697 ## MicroBlaze Systems
698 #########################################################################
705 #########################################################################
707 #########################################################################
712 EB+MCF-EV123_internal \
733 #########################################################################
735 #########################################################################
748 #########################################################################
750 #########################################################################
759 #########################################################################
761 #########################################################################
788 #########################################################################
790 #########################################################################
792 LIST_sparc
="gr_xc3s_1500 gr_cpci_ax2000 gr_ep2s60 grsim grsim_leon2"
794 #-----------------------------------------------------------------------
796 #----- for now, just run PPC by default -----
797 [ $# = 0 ] && set $LIST_ppc
799 #-----------------------------------------------------------------------
804 ${MAKE} distclean
>/dev
/null
805 ${MAKE} ${target}_config
807 ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
808 |
tee ${LOG_DIR}/$target.ERR
810 ${CROSS_COMPILE}size
${BUILD_DIR}/u-boot \
811 |
tee -a ${LOG_DIR}/$target.MAKELOG
814 #-----------------------------------------------------------------------
820 arm|SA|ARM7|ARM9|ARM10|ARM11|at91|ixp|pxa \
827 |ppc|
5xx|
5xxx|
512x|
8xx|
8220|
824x|
8260|
83xx|
85xx|
86xx|
4xx|
7xx|
74xx|TSEC \
832 for target
in `eval echo '$LIST_'${arg}`
834 build_target
${target}
837 *) build_target
${arg}