Use "make <board>_defconfig" instead of "make <board>_config".

FIXME!
This fixup is bad because it spends still depends on boards.cfg
to support options such as -a <ARCH>, -c <CPU> etc.
We want to delete it when switching to Kconfig.

We have to invent another method without using boards.cfg.

Signed-off-by: Masahiro Yamada <yamad...@jp.panasonic.com>
---

 MAKEALL | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/MAKEALL b/MAKEALL
index 020e65f..45b28f4 100755
--- a/MAKEALL
+++ b/MAKEALL
@@ -506,9 +506,9 @@ get_target_location() {
 
        set ${line}
 
-       CONFIG_NAME="${7%_config}"
+       CONFIG_NAME="${7%_defconfig}"
 
-       [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_config}"
+       [ "${BOARD_NAME}" ] || BOARD_NAME="${7%_defconfig}"
 
        if [ $# -gt 5 ]; then
                if [ "$6" = "-" ] ; then
@@ -645,7 +645,7 @@ build_target() {
        fi
 
        ${MAKE} distclean >/dev/null
-       ${MAKE} -s ${target}_config
+       ${MAKE} -s ${target}_defconfig
 
        ${MAKE} ${JOBS} ${CHECK} all \
                >${LOG_DIR}/$target.MAKELOG 2> ${LOG_DIR}/$target.ERR
-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to