projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spieval: Remove remainders of dead board
[platform/kernel/u-boot.git]
/
MAKEALL
diff --git
a/MAKEALL
b/MAKEALL
index
c0d04fb
..
80cd4f8
100755
(executable)
--- a/
MAKEALL
+++ b/
MAKEALL
@@
-38,8
+38,8
@@
usage()
BUILD_NCPUS number of parallel make jobs (default: auto)
CROSS_COMPILE cross-compiler toolchain prefix (default: "")
CROSS_COMPILE_<ARCH> cross-compiler toolchain prefix for
BUILD_NCPUS number of parallel make jobs (default: auto)
CROSS_COMPILE cross-compiler toolchain prefix (default: "")
CROSS_COMPILE_<ARCH> cross-compiler toolchain prefix for
- architecture "ARCH". Substitute "ARCH" for any
- supported architecture (default: "")
+ architecture "ARCH". Substitute "ARCH" for any
+ supported architecture (default: "")
MAKEALL_LOGDIR output all logs to here (default: ./LOG/)
BUILD_DIR output build directory (default: ./)
BUILD_NBUILDS number of parallel targets (default: 1)
MAKEALL_LOGDIR output all logs to here (default: ./LOG/)
BUILD_DIR output build directory (default: ./)
BUILD_NBUILDS number of parallel targets (default: 1)
@@
-224,86
+224,84
@@
OLDEST_IDX=1
RC=0
# Helper funcs for parsing boards.cfg
RC=0
# Helper funcs for parsing boards.cfg
-
board
s_by_field()
+
target
s_by_field()
{
{
- FS="[ \t]+"
- [ -n "$3" ] && FS="$3"
- awk \
- -v field="$1" \
- -v select="$2" \
- -F "$FS" \
- '($1 !~ /^#/ && $field == select) { print $7 }' \
- boards.cfg
+ field=$1
+ regexp=$2
+
+ awk '($1 !~ /^#/ && $'"$field"' ~ /^'"$regexp"'$/) { print $7 }' \
+ boards.cfg
}
}
-boards_by_arch() { boards_by_field 2 "$@" ; }
-boards_by_cpu() { boards_by_field 3 "$@" "[: \t]+" ; }
-boards_by_soc() { boards_by_field 4 "$@" ; }
+
+targets_by_arch() { targets_by_field 2 "$@" ; }
+targets_by_cpu() { targets_by_field 3 "$@" ; targets_by_field 3 "$@:.*" ; }
+targets_by_soc() { targets_by_field 4 "$@" ; }
#########################################################################
## MPC5xx Systems
#########################################################################
#########################################################################
## MPC5xx Systems
#########################################################################
-LIST_5xx="$(
board
s_by_cpu mpc5xx)"
+LIST_5xx="$(
target
s_by_cpu mpc5xx)"
#########################################################################
## MPC5xxx Systems
#########################################################################
#########################################################################
## MPC5xxx Systems
#########################################################################
-LIST_5xxx="$(
board
s_by_cpu mpc5xxx)"
+LIST_5xxx="$(
target
s_by_cpu mpc5xxx)"
#########################################################################
## MPC512x Systems
#########################################################################
#########################################################################
## MPC512x Systems
#########################################################################
-LIST_512x="$(
board
s_by_cpu mpc512x)"
+LIST_512x="$(
target
s_by_cpu mpc512x)"
#########################################################################
## MPC8xx Systems
#########################################################################
#########################################################################
## MPC8xx Systems
#########################################################################
-LIST_8xx="$(
board
s_by_cpu mpc8xx)"
+LIST_8xx="$(
target
s_by_cpu mpc8xx)"
#########################################################################
## PPC4xx Systems
#########################################################################
#########################################################################
## PPC4xx Systems
#########################################################################
-LIST_4xx="$(
board
s_by_cpu ppc4xx)"
+LIST_4xx="$(
target
s_by_cpu ppc4xx)"
#########################################################################
## MPC824x Systems
#########################################################################
#########################################################################
## MPC824x Systems
#########################################################################
-LIST_824x="$(
board
s_by_cpu mpc824x)"
+LIST_824x="$(
target
s_by_cpu mpc824x)"
#########################################################################
## MPC8260 Systems (includes 8250, 8255 etc.)
#########################################################################
#########################################################################
## MPC8260 Systems (includes 8250, 8255 etc.)
#########################################################################
-LIST_8260="$(
board
s_by_cpu mpc8260)"
+LIST_8260="$(
target
s_by_cpu mpc8260)"
#########################################################################
## MPC83xx Systems (includes 8349, etc.)
#########################################################################
#########################################################################
## MPC83xx Systems (includes 8349, etc.)
#########################################################################
-LIST_83xx="$(
board
s_by_cpu mpc83xx)"
+LIST_83xx="$(
target
s_by_cpu mpc83xx)"
#########################################################################
## MPC85xx Systems (includes 8540, 8560 etc.)
#########################################################################
#########################################################################
## MPC85xx Systems (includes 8540, 8560 etc.)
#########################################################################
-LIST_85xx="$(
board
s_by_cpu mpc85xx)"
+LIST_85xx="$(
target
s_by_cpu mpc85xx)"
#########################################################################
## MPC86xx Systems
#########################################################################
#########################################################################
## MPC86xx Systems
#########################################################################
-LIST_86xx="$(
board
s_by_cpu mpc86xx)"
+LIST_86xx="$(
target
s_by_cpu mpc86xx)"
#########################################################################
## 74xx/7xx Systems
#########################################################################
#########################################################################
## 74xx/7xx Systems
#########################################################################
-LIST_74xx_7xx="$(
board
s_by_cpu 74xx_7xx)"
+LIST_74xx_7xx="$(
target
s_by_cpu 74xx_7xx)"
#########################################################################
## PowerPC groups
#########################################################################
## PowerPC groups
@@
-339,62
+337,61
@@
LIST_ppc=" \
## StrongARM Systems
#########################################################################
## StrongARM Systems
#########################################################################
-LIST_SA="$(
board
s_by_cpu sa1100)"
+LIST_SA="$(
target
s_by_cpu sa1100)"
#########################################################################
## ARM7 Systems
#########################################################################
#########################################################################
## ARM7 Systems
#########################################################################
-LIST_ARM7="$(
board
s_by_cpu arm720t)"
+LIST_ARM7="$(
target
s_by_cpu arm720t)"
#########################################################################
## ARM9 Systems
#########################################################################
#########################################################################
## ARM9 Systems
#########################################################################
-LIST_ARM9="$(boards_by_cpu arm920t) \
- $(boards_by_cpu arm926ejs) \
- $(boards_by_cpu arm925t) \
- $(boards_by_cpu arm946es) \
+LIST_ARM9="$(targets_by_cpu arm920t) \
+ $(targets_by_cpu arm926ejs) \
+ $(targets_by_cpu arm946es) \
"
#########################################################################
## ARM11 Systems
#########################################################################
"
#########################################################################
## ARM11 Systems
#########################################################################
-LIST_ARM11="$(
boards_by_cpu arm1136)
\
- $(
boards_by_cpu arm1176)
\
+LIST_ARM11="$(
targets_by_cpu arm1136)
\
+ $(
targets_by_cpu arm1176)
\
"
#########################################################################
## ARMV7 Systems
#########################################################################
"
#########################################################################
## ARMV7 Systems
#########################################################################
-LIST_ARMV7="$(
board
s_by_cpu armv7)"
+LIST_ARMV7="$(
target
s_by_cpu armv7)"
#########################################################################
## AT91 Systems
#########################################################################
#########################################################################
## AT91 Systems
#########################################################################
-LIST_at91="$(
board
s_by_soc at91)"
+LIST_at91="$(
target
s_by_soc at91)"
#########################################################################
## Xscale Systems
#########################################################################
#########################################################################
## Xscale Systems
#########################################################################
-LIST_pxa="$(
board
s_by_cpu pxa)"
+LIST_pxa="$(
target
s_by_cpu pxa)"
-LIST_ixp="$(
board
s_by_cpu ixp)"
+LIST_ixp="$(
target
s_by_cpu ixp)"
#########################################################################
## SPEAr Systems
#########################################################################
#########################################################################
## SPEAr Systems
#########################################################################
-LIST_spear="$(
board
s_by_soc spear)"
+LIST_spear="$(
target
s_by_soc spear)"
#########################################################################
## ARM groups
#########################################################################
#########################################################################
## ARM groups
#########################################################################
-LIST_arm="$(
board
s_by_arch arm)"
+LIST_arm="$(
target
s_by_arch arm)"
#########################################################################
## MIPS Systems (default = big endian)
#########################################################################
## MIPS Systems (default = big endian)
@@
-448,66
+445,66
@@
LIST_mips_el=" \
## OpenRISC Systems
#########################################################################
## OpenRISC Systems
#########################################################################
-LIST_openrisc="$(
board
s_by_arch openrisc)"
+LIST_openrisc="$(
target
s_by_arch openrisc)"
#########################################################################
## x86 Systems
#########################################################################
#########################################################################
## x86 Systems
#########################################################################
-LIST_x86="$(
board
s_by_arch x86)"
+LIST_x86="$(
target
s_by_arch x86)"
#########################################################################
## Nios-II Systems
#########################################################################
#########################################################################
## Nios-II Systems
#########################################################################
-LIST_nios2="$(
board
s_by_arch nios2)"
+LIST_nios2="$(
target
s_by_arch nios2)"
#########################################################################
## MicroBlaze Systems
#########################################################################
#########################################################################
## MicroBlaze Systems
#########################################################################
-LIST_microblaze="$(
board
s_by_arch microblaze)"
+LIST_microblaze="$(
target
s_by_arch microblaze)"
#########################################################################
## ColdFire Systems
#########################################################################
#########################################################################
## ColdFire Systems
#########################################################################
-LIST_m68k="$(
board
s_by_arch m68k)"
+LIST_m68k="$(
target
s_by_arch m68k)"
LIST_coldfire=${LIST_m68k}
#########################################################################
## AVR32 Systems
#########################################################################
LIST_coldfire=${LIST_m68k}
#########################################################################
## AVR32 Systems
#########################################################################
-LIST_avr32="$(
board
s_by_arch avr32)"
+LIST_avr32="$(
target
s_by_arch avr32)"
#########################################################################
## Blackfin Systems
#########################################################################
#########################################################################
## Blackfin Systems
#########################################################################
-LIST_blackfin="$(
board
s_by_arch blackfin)"
+LIST_blackfin="$(
target
s_by_arch blackfin)"
#########################################################################
## SH Systems
#########################################################################
#########################################################################
## SH Systems
#########################################################################
-LIST_sh2="$(
board
s_by_cpu sh2)"
-LIST_sh3="$(
board
s_by_cpu sh3)"
-LIST_sh4="$(
board
s_by_cpu sh4)"
+LIST_sh2="$(
target
s_by_cpu sh2)"
+LIST_sh3="$(
target
s_by_cpu sh3)"
+LIST_sh4="$(
target
s_by_cpu sh4)"
-LIST_sh="$(
board
s_by_arch sh)"
+LIST_sh="$(
target
s_by_arch sh)"
#########################################################################
## SPARC Systems
#########################################################################
#########################################################################
## SPARC Systems
#########################################################################
-LIST_sparc="$(
board
s_by_arch sparc)"
+LIST_sparc="$(
target
s_by_arch sparc)"
#########################################################################
## NDS32 Systems
#########################################################################
#########################################################################
## NDS32 Systems
#########################################################################
-LIST_nds32="$(
board
s_by_arch nds32)"
+LIST_nds32="$(
target
s_by_arch nds32)"
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
@@
-519,7
+516,7
@@
get_target_location() {
local vendor=""
# Automatic mode
local vendor=""
# Automatic mode
- local line=`awk
-F '\ +'
'\$7 == "'"$target"'" { print \$0 }' boards.cfg`
+ local line=`awk '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
if [ -z "${line}" ] ; then echo "" ; return ; fi
set ${line}
if [ -z "${line}" ] ; then echo "" ; return ; fi
set ${line}
@@
-557,7
+554,7
@@
get_target_location() {
get_target_maintainers() {
local name=`echo $1 | cut -d : -f 3`
get_target_maintainers() {
local name=`echo $1 | cut -d : -f 3`
- local line=`awk
-F '\ +'
'\$7 == "'"$target"'" { print \$0 }' boards.cfg`
+ local line=`awk '\$7 == "'"$target"'" { print \$0 }' boards.cfg`
if [ -z "${line}" ]; then
echo ""
return ;
if [ -z "${line}" ]; then
echo ""
return ;
@@
-572,7
+569,7
@@
get_target_arch() {
local target=$1
# Automatic mode
local target=$1
# Automatic mode
- local line=`
egrep -i "^[[:space:]]*${target}[[:space:]]"
boards.cfg`
+ local line=`
awk '\$7 == "'"$target"'" { print \$0 }'
boards.cfg`
if [ -z "${line}" ] ; then echo "" ; return ; fi
if [ -z "${line}" ] ; then echo "" ; return ; fi