2015-08-05 22:23:21 +02:00
|
|
|
if [ ! -e linux.octonet ]; then
|
|
|
|
if [ ! -e linux-3.17.7.tar.xz ]; then
|
|
|
|
wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.17.7.tar.xz
|
|
|
|
fi
|
|
|
|
tar xf linux-3.17.7.tar.xz
|
|
|
|
mv linux-3.17.7 linux.octonet
|
|
|
|
patch -d linux.octonet -p1 < linux.patch
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ ! -e buildroot ]; then
|
|
|
|
if [ ! -e buildroot-2015.02-rc2.tar.bz2 ]; then
|
|
|
|
wget http://buildroot.uclibc.org/downloads/buildroot-2015.02-rc2.tar.bz2
|
|
|
|
fi
|
|
|
|
tar xf buildroot-2015.02-rc2.tar.bz2
|
|
|
|
mv buildroot-2015.02-rc2 buildroot
|
|
|
|
cp dvb-apps-0002-Fix-broken-bitops-on-arm.patch buildroot/package/dvb-apps/
|
2016-04-13 15:48:30 +02:00
|
|
|
cp busybox-0001-Fix-zcip-arp-compare.patch buildroot/package/busybox/
|
2016-08-19 00:09:02 +02:00
|
|
|
cp lzop-0001-ACC.patch buildroot/package/lzop/
|
2015-08-05 22:23:21 +02:00
|
|
|
if [ -e dl ]; then
|
|
|
|
ln -sf ../dl buildroot
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
2015-12-14 19:17:58 +01:00
|
|
|
if [ ! -e ../dddvb ]; then
|
|
|
|
git clone -b "0.9.20" "https://github.com/DigitalDevices/dddvb.git" ../dddvb
|
2015-08-05 22:23:21 +02:00
|
|
|
fi
|
|
|
|
|
2015-12-14 19:17:58 +01:00
|
|
|
DDDVB=../dddvb
|
2015-08-05 22:23:21 +02:00
|
|
|
LINUX=linux.octonet
|
|
|
|
|
|
|
|
cp $DDDVB/ddbridge/*.[ch] $LINUX/drivers/media/pci/ddbridge/
|
|
|
|
cp $DDDVB/dvb-core/*.[ch] $LINUX/drivers/media/dvb-core/
|
|
|
|
cp $DDDVB/include/linux/dvb/*.h $LINUX/include/uapi/linux/dvb/
|
|
|
|
|
|
|
|
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/
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -e u-boot ]; then
|
|
|
|
if [ ! -e u-boot-2014.07.tar.bz2 ]; then
|
|
|
|
wget ftp://ftp.denx.de/pub/u-boot/u-boot-2014.07.tar.bz2
|
|
|
|
fi
|
|
|
|
tar xf u-boot-2014.07.tar.bz2
|
|
|
|
mv u-boot-2014.07 u-boot
|
|
|
|
patch -d u-boot -p1 < u-boot.patch
|
|
|
|
fi
|
|
|
|
|
|
|
|
|