scripts: gki: Add proper MAKE PATH
Add the prebuilt make path to be used in all script invocations. Change-Id: I173b5d404b31d70e0f26bc975cbeaaa66ed2f82f Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
This commit is contained in:
parent
776e6bfb94
commit
1e0439c35e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
# Copyright (c) 2019, The Linux Foundation. All rights reserved.
|
# Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
||||||
|
|
||||||
# Script to generate a defconfig variant based on the input
|
# Script to generate a defconfig variant based on the input
|
||||||
|
|
||||||
@ -70,8 +70,9 @@ FINAL_DEFCONFIG_BLEND=`echo "${FINAL_DEFCONFIG_BLEND}" | awk '{ for (i=NF; i>1;
|
|||||||
echo "defconfig blend for $REQUIRED_DEFCONFIG: $FINAL_DEFCONFIG_BLEND"
|
echo "defconfig blend for $REQUIRED_DEFCONFIG: $FINAL_DEFCONFIG_BLEND"
|
||||||
|
|
||||||
MAKE_ARGS=$KERN_MAKE_ARGS \
|
MAKE_ARGS=$KERN_MAKE_ARGS \
|
||||||
|
MAKE_PATH=${MAKE_PATH} \
|
||||||
${KERN_SRC}/scripts/kconfig/merge_config.sh $FINAL_DEFCONFIG_BLEND
|
${KERN_SRC}/scripts/kconfig/merge_config.sh $FINAL_DEFCONFIG_BLEND
|
||||||
make $KERN_MAKE_ARGS savedefconfig
|
${MAKE_PATH}make $KERN_MAKE_ARGS savedefconfig
|
||||||
mv defconfig $CONFIGS_DIR/$REQUIRED_DEFCONFIG
|
mv defconfig $CONFIGS_DIR/$REQUIRED_DEFCONFIG
|
||||||
|
|
||||||
# Cleanup the allyes config fragment and other generated files
|
# Cleanup the allyes config fragment and other generated files
|
||||||
|
@ -172,7 +172,7 @@ fi
|
|||||||
# Use the merged file as the starting point for:
|
# Use the merged file as the starting point for:
|
||||||
# alldefconfig: Fills in any missing symbols with Kconfig default
|
# alldefconfig: Fills in any missing symbols with Kconfig default
|
||||||
# allnoconfig: Fills in any missing symbols with # CONFIG_* is not set
|
# allnoconfig: Fills in any missing symbols with # CONFIG_* is not set
|
||||||
make $MAKE_ARGS KCONFIG_ALLCONFIG=$TMP_FILE $OUTPUT_ARG $ALLTARGET
|
${MAKE_PATH}make $MAKE_ARGS KCONFIG_ALLCONFIG=$TMP_FILE $OUTPUT_ARG $ALLTARGET
|
||||||
|
|
||||||
|
|
||||||
# Check all specified config values took (might have missed-dependency issues)
|
# Check all specified config values took (might have missed-dependency issues)
|
||||||
|
Loading…
Reference in New Issue
Block a user