Created
July 18, 2011 13:54
-
-
Save scottellis/1089584 to your computer and use it in GitHub Desktop.
Clean some OE files before changing kernels
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Do some OE cleanup before switching kernels | |
# | |
if [[ -z "${OETMP}" ]]; then | |
OETMP=$HOME/overo-oe/tmp | |
fi | |
packages=( ti-dsplib \ | |
ti-dsplink \ | |
ti-dmai \ | |
ti-dspbios \ | |
ti-local-power-manager \ | |
ti-linuxutils \ | |
virtual/kernel \ | |
dsp-console-image ) | |
for pkg in ${packages[@]} | |
do | |
bitbake -c clean $pkg | |
done | |
rm -rf $OETMP/cache/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment