# arch
arch/arm/mach-rk29/clock.c
arch/arm/mach-rk29/ddr.c
-arch/arm/mach-rk29/vpu.c
-arch/arm/mach-rk29/vpu_mem.c
+arch/arm/mach-rk29/vpu*.c
drivers/staging/rk29/ipp/rk29-ipp.c
+sound/soc/codecs/rt5625.c
)
DIRS=(
sound/*rk28*.h
include/*rk28*
+arch/arm/mach-rk29/ddr_reconfig.c
+
drivers/staging/rk29/vivante/*.c
drivers/staging/rk29/vivante/*.h
arch/arm/mach-rk29/board-rk29-newton*
arch/arm/configs/rk29_newton_defconfig
+
+arch/arm/mach-rk29/board-rk29-p91*
+arch/arm/configs/rk29_p91_defconfig
)
# ---------------------------------------------------------------------------
usage() {
echo usage: $0 kerneldir defconfig
- echo example: $0 . rk29_sdk_defconfig
+ echo example: $0 . rk29_ddr3sdk_defconfig
exit
}
kerndir=$(cd $kerndir; pwd) # get absolute path
[ -d $kerndir ] || usage
-defconfig=${2-rk29_sdk_defconfig}
+defconfig=${2-rk29_ddr3sdk_defconfig}
if [ "$defconfig" = ".config" ]; then
[ -f $kerndir/.config ] || usage
else
[ -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
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
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