[U-Boot] [PATCH v2 07/11] MAKEALL: adjust for Kconfig

Simon Glass sjg at chromium.org
Tue Jun 3 05:23:57 CEST 2014


On 28 May 2014 07:05, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> Use "make <board>_defconfig" instead of "make <board>_config".
>
> FIXME!
> This fixup is bad because it 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 <yamada.m at jp.panasonic.com>

Acked-by: Simon Glass <sjg at chromium.org>

> ---
>
> Changes in v2: None
>
>  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
>


More information about the U-Boot mailing list