mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 06:09:23 -04:00
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:
parent
6f94a10a35
commit
4cba5b1881
1 changed files with 2 additions and 5 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue