Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cba5b18 authored by Raghavendra Rao Ananta's avatar Raghavendra Rao Ananta
Browse files

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: default avatarRaghavendra Rao Ananta <rananta@codeaurora.org>
parent 6f94a10a
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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/