phone-pad:modify pack script.
This commit is contained in:
parent
f2e6d43d37
commit
2c69da8614
1 changed files with 13 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ arch/arm/mach-rk29/vpu.c
|
|||
arch/arm/mach-rk29/vpu_mem.c
|
||||
|
||||
drivers/staging/rk29/ipp/rk29-ipp.c
|
||||
sound/soc/codecs/rt5625.c
|
||||
)
|
||||
|
||||
DIRS=(
|
||||
|
|
@ -88,6 +89,11 @@ for d in ${DIRS[@]}; do
|
|||
[ -d $d ] && find $d -type f -name '*.uu' -print0 | xargs -0 rm -f
|
||||
done
|
||||
|
||||
#zwp
|
||||
mv sound/soc/codecs/rt5625.c sound/soc/codecs/rt5625.c.bak
|
||||
mv sound/soc/codecs/rt5625.c.enc sound/soc/codecs/rt5625.c
|
||||
####
|
||||
|
||||
echo build kernel on $kerndir with $defconfig
|
||||
make clean >/dev/null 2>&1
|
||||
make $defconfig >/dev/null 2>&1
|
||||
|
|
@ -109,6 +115,11 @@ for d in ${DIRS[@]}; do
|
|||
done
|
||||
done
|
||||
|
||||
#zwp
|
||||
mv sound/soc/codecs/rt5625.c sound/soc/codecs/rt5625.c.enc
|
||||
mv sound/soc/codecs/rt5625.c.bak sound/soc/codecs/rt5625.c
|
||||
####
|
||||
|
||||
make distclean >/dev/null 2>&1
|
||||
|
||||
popd >/dev/null
|
||||
|
|
@ -124,6 +135,8 @@ done
|
|||
for file in ${EXCLUDES[@]}; do
|
||||
echo "$file" >> $ex
|
||||
done
|
||||
echo sound/soc/codecs/rt5625.c >>$ex
|
||||
echo sound/soc/codecs/rt5625.c.enc >>$ex
|
||||
echo TAR $(pwd)/$package
|
||||
tar cf $package --numeric-owner --exclude-from $ex --exclude=.git --exclude=`basename $0` $(basename $kerndir)
|
||||
tar rf $package --numeric-owner --exclude=.git toolchain/arm-eabi-4.4.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue