@@ -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
@@ -640,12 +640,20 @@ build_target() {
MAKE=make
fi
+ if [ "$target_arch" = aarch64 ]; then
+ target_arch_fixup=arm
+ else
+ target_arch_fixup=$target_arch
+ fi
+
+ MAKE="$MAKE ARCH=$target_arch_fixup"
+
if [ "${output_dir}" != "." ] ; then
MAKE="${MAKE} O=${output_dir}"
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". WARNING This adjustment is not enough. MAKEALL should parse defconfig files instead of boards.cfg. This commit has not got this rework done yet. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> --- MAKEALL | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-)