scripts: gki: Clean the generted files by hand instead of mrproper

The script generate_defconfig.sh runs 'make mrproper' at the end
as a part of its cleanup routine. This action, however, also removes
tags, cscope.*, and other necessary files from the source tree,
which is not desired. Hence, hand-pick the generated files manually
and remove them instead of relying on 'make mrproper'.

Change-Id: I8996cb7be5574d6177b23b72bf3e241d43a350dd
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
This commit is contained in:
Raghavendra Rao Ananta 2019-07-03 10:08:57 -07:00
commit 4cba5b1881

View file

@ -63,8 +63,5 @@ ${KERN_SRC}/scripts/kconfig/merge_config.sh $FINAL_DEFCONFIG_BLEND
make savedefconfig
mv defconfig $CONFIGS_DIR/$REQUIRED_DEFCONFIG
# Cleanup the allyes config fragment that was generated
rm -f $QCOM_GKI_ALLYES_FRAG
# Cleanup the kernel source
make mrproper
# Cleanup the allyes config fragment and other generated files
rm -rf $QCOM_GKI_ALLYES_FRAG .config include/config/ include/generated/ arch/$ARCH/include/generated/