build.config.msm.common: Treat MAKE_ARGS as an array
In kernel/build commit 7ff932f0ba96 ("build.sh: Treat MAKE_ARGS as an array"), MAKE_ARGS becomes an array. Update build.config.msm.common so that it also treats MAKE_ARGS as an array. This is backwards-compatible with an older kernel/build and it's expanded the same way if MAKE_ARGS is just a plain variable (not an array). Change-Id: I40e86862ac06973f0a2d5912d9bec534823381dd Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
facc06358f
commit
fc06a85c7a
@ -47,7 +47,7 @@ DTC_OVERLAY_TEST_EXT=ufdt_apply_overlay
|
||||
function add_dt_overlay_defconfig() {
|
||||
${KERNEL_DIR}/scripts/config --file ${OUT_DIR}/.config \
|
||||
-e BUILD_ARM64_DT_OVERLAY
|
||||
(cd ${KERNEL_DIR} && make "${TOOL_ARGS[@]}" O=${OUT_DIR} ${MAKE_ARGS} olddefconfig)
|
||||
(cd ${KERNEL_DIR} && make "${TOOL_ARGS[@]}" O=${OUT_DIR} "${MAKE_ARGS[@]}" olddefconfig)
|
||||
}
|
||||
if [ ! -z $DT_OVERLAY_SUPPORT ] && [ ! $DT_OVERLAY_SUPPORT -eq "0" ]; then
|
||||
append_cmd POST_DEFCONFIG_CMDS 'add_dt_overlay_defconfig'
|
||||
@ -97,7 +97,7 @@ function merge_defconfig_fragments() {
|
||||
exit 1
|
||||
fi
|
||||
local temp_config=$(mktemp)
|
||||
(cd ${KERNEL_DIR} && KCONFIG_CONFIG=${temp_config} make "${TOOL_ARGS[@]}" O=${OUT_DIR} ${MAKE_ARGS} ${DEFCONFIG}) 2>&1 | tee $output
|
||||
(cd ${KERNEL_DIR} && KCONFIG_CONFIG=${temp_config} make "${TOOL_ARGS[@]}" O=${OUT_DIR} "${MAKE_ARGS[@]}" ${DEFCONFIG}) 2>&1 | tee $output
|
||||
if grep -q -e "warning:" $output; then
|
||||
echo "========================================================"
|
||||
echo "ERROR! Treating config warnings as errors"
|
||||
|
Loading…
Reference in New Issue
Block a user