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
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
[platform/kernel/u-boot.git]
/
MAKEALL
diff --git
a/MAKEALL
b/MAKEALL
index
ed85b7c
..
7c16319
100755
(executable)
--- a/
MAKEALL
+++ b/
MAKEALL
@@
-171,6
+171,11
@@
GNU_MAKE=$(scripts/show-gnu-make) || {
# echo "Remaining arguments:"
# for arg do echo '--> '"\`$arg'" ; done
# echo "Remaining arguments:"
# for arg do echo '--> '"\`$arg'" ; done
+tools/genboardscfg.py || {
+ echo "Failed to generate boards.cfg" >&2
+ exit 1
+}
+
FILTER="\$1 !~ /^#/"
[ "$opt_a" ] && FILTER="${FILTER} && $opt_a"
[ "$opt_c" ] && FILTER="${FILTER} && $opt_c"
FILTER="\$1 !~ /^#/"
[ "$opt_a" ] && FILTER="${FILTER} && $opt_a"
[ "$opt_c" ] && FILTER="${FILTER} && $opt_c"
@@
-512,9
+517,9
@@
get_target_location() {
set ${line}
set ${line}
- CONFIG_NAME="${7%_config}"
+ CONFIG_NAME="${7%_
def
config}"
- [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_config}"
+ [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_
def
config}"
if [ $# -gt 5 ]; then
if [ "$6" = "-" ] ; then
if [ $# -gt 5 ]; then
if [ "$6" = "-" ] ; then
@@
-650,8
+655,10
@@
build_target() {
MAKE="${MAKE} O=${output_dir}"
fi
MAKE="${MAKE} O=${output_dir}"
fi
- ${MAKE} distclean >/dev/null
- ${MAKE} -s ${target}_config
+ ${MAKE} mrproper >/dev/null
+
+ echo "Building ${target} board..."
+ ${MAKE} -s ${target}_defconfig >/dev/null
${MAKE} ${JOBS} ${CHECK} all \
>${LOG_DIR}/$target.MAKELOG 2> ${LOG_DIR}/$target.ERR
${MAKE} ${JOBS} ${CHECK} all \
>${LOG_DIR}/$target.MAKELOG 2> ${LOG_DIR}/$target.ERR