blob: 3b1180b74f3d49b778e815bbff9e7ba56f0c6fe1 [file] [log] [blame]
#!/bin/sh
if [ -z "$RM" ]; then
export RM='cg-rm -rf'
fi
nuke () {
find "$@" -print | sort -r | xargs -rt $RM
}
nuke README Kbuild Makefile defconfig klibc.spec.in *.sh
nuke contrib klcc
# These files are either not needed or provided from the
# kernel tree
nuke scripts/Kbuild.include scripts/Kbuild.install
nuke scripts/Makefile.*
nuke scripts/basic