2015-08-05 22:23:21 +02:00
|
|
|
cd buildroot
|
|
|
|
rm output-octonet/images/octonet*
|
|
|
|
rm output-octonet/build/linux-custom/.stamp_*
|
|
|
|
|
2015-12-14 19:17:58 +01:00
|
|
|
DDDVB=../../dddvb
|
2015-08-05 22:23:21 +02:00
|
|
|
LINUX=../linux.octonet
|
|
|
|
|
2015-09-07 02:17:56 +02:00
|
|
|
#if [ -e /home/rjkm/projects ]; then
|
|
|
|
# rm -rf ../dddvb
|
|
|
|
# cp -rpdu /home/rjkm/projects/dddvb ../
|
|
|
|
# rm -rf ../octoserve
|
|
|
|
# cp -rpdu /home/rjkm/projects/octoserve ../
|
|
|
|
#fi
|
2015-08-05 22:23:21 +02:00
|
|
|
|
|
|
|
cp $DDDVB/ddbridge/*.[ch] $LINUX/drivers/media/pci/ddbridge/
|
2017-12-07 23:21:14 +01:00
|
|
|
cp $DDDVB/ddbridge/Kconfig $LINUX/drivers/media/pci/ddbridge/
|
|
|
|
cp $DDDVB/ddbridge/Makefile.kernel $LINUX/drivers/media/pci/ddbridge/Makefile
|
2015-08-05 22:23:21 +02:00
|
|
|
cp $DDDVB/dvb-core/*.[ch] $LINUX/drivers/media/dvb-core/
|
2017-12-07 23:21:14 +01:00
|
|
|
cp $DDDVB/dvb-core/Kconfig $LINUX/drivers/media/dvb-core/
|
|
|
|
cp $DDDVB/dvb-core/Makefile.kernel $LINUX/drivers/media/dvb-core/Makefile
|
2015-08-05 22:23:21 +02:00
|
|
|
cp $DDDVB/include/linux/dvb/*.h $LINUX/include/uapi/linux/dvb/
|
|
|
|
|
2017-12-07 23:21:14 +01:00
|
|
|
cp $DDDVB/frontends/Kconfig $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/Makefile.kernel $LINUX/drivers/media/dvb-frontends/Makefile
|
2015-08-05 22:23:21 +02:00
|
|
|
cp $DDDVB/frontends/drxk*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/lnb*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/stv0367dd*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/stv090x*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/stv6110*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/tda18*dd*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/cxd2099.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/cxd2843.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/stv6111.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/stv0910*.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/mxl5xx.[ch] $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/mxl5xx_regs.h $LINUX/drivers/media/dvb-frontends/
|
|
|
|
cp $DDDVB/frontends/mxl5xx_defs.h $LINUX/drivers/media/dvb-frontends/
|
|
|
|
|
|
|
|
#cp $DDDVB/apps/ddtest.c package/octonet/octonet/
|
|
|
|
#cp $DDDVB/apps/ddflash.c package/octonet/octonet/
|
|
|
|
#cp $DDDVB/apps/octonet/octonet.c package/octonet/octonet/
|
|
|
|
#cp $DDDVB/apps/octonet/octokey.c package/octonet/octonet/
|
|
|
|
#cp $DDDVB/include/linux/dvb/ns.h package/octonet/octonet/
|
|
|
|
rm -rf output-octonet/build/octonet*
|
|
|
|
rm -rf output-octonet/build/octoserve*
|
2016-01-04 21:16:11 +01:00
|
|
|
rm -rf output-octonet/build/octoscan*
|
2015-08-05 22:23:21 +02:00
|
|
|
|
|
|
|
#chmod 577 board/digitaldevices/octonet/overlay/var/dms/dms.lua
|
|
|
|
#chmod 577 board/digitaldevices/octonet/overlay/var/mcsetup/mcsetup.lua
|
|
|
|
|
|
|
|
make BR2_EXTERNAL=../buildroot.octonet O=output-octonet digitaldevices_octonet_defconfig
|
|
|
|
make O=output-octonet
|
|
|
|
|
|
|
|
TS=`date +%y%m%d%H%M`
|
|
|
|
echo $TS
|
|
|
|
cp output-octonet/images/rootfs.tar.bz2 output-octonet/images/octonet.$TS.img
|
|
|
|
sha256sum output-octonet/images/octonet.$TS.img > output-octonet/images/octonet.$TS.sha
|