phone-pad:modify pack script.
authorzwp <zwp@rock-chips.com>
Thu, 18 Aug 2011 02:33:52 +0000 (19:33 -0700)
committerzwp <zwp@rock-chips.com>
Thu, 18 Aug 2011 02:33:52 +0000 (19:33 -0700)
pack-kernel.sh

index 9efa97fd26285b46d9f572d4c48d04bab2660c3f..83462cecc1f308cd838877b647ef103a830f85c8 100755 (executable)
@@ -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