Skip to content

Instantly share code, notes, and snippets.

@scottellis
Created July 18, 2011 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottellis/1089584 to your computer and use it in GitHub Desktop.
Save scottellis/1089584 to your computer and use it in GitHub Desktop.
Clean some OE files before changing kernels
#!/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