Message ID | 1401282312-21170-8-git-send-email-yamada.m@jp.panasonic.com |
---|---|
State | Superseded |
Delegated to: | Tom Rini |
Headers | show |
On 28 May 2014 07:05, Masahiro Yamada <yamada.m@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@jp.panasonic.com> Acked-by: Simon Glass <sjg@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 >
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
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@jp.panasonic.com> --- Changes in v2: None MAKEALL | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)