Codebase list klibc / debian/1.5.12-1 cg-rm-for-kernel.sh
debian/1.5.12-1

Tree @debian/1.5.12-1 (Download .tar.gz)

cg-rm-for-kernel.sh @debian/1.5.12-1raw · history · 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