Download Toolchain and extract for preparation of crosscompiling
sudo apt-get install make
sudo apt-get install binutils
sudo apt install git
sudo apt install dialog
for #####Step 2#####
sudo apt install libtool
sudo apt install automake
Toolchain example: armv7-eabihf--glibc--stable-2018.11-1.tar.bz2
Working location: /home/ubuntu/Downloads/build/oscam/
Folders:
/home/ubuntu/Downloads/build/oscam/armv7-eabihf--glibc--stable-2018.11-1/
/home/ubuntu/Downloads/build/oscam/openssl-3.1.5
/home/ubuntu/Downloads/build/oscam/libdvbcsa
/home/ubuntu/Downloads/build/oscam/oscam-svn
#####Step 1#####
Code:
wget https://openssl.org/source/openssl-3.1.5.tar.gz
tar -xf openssl-3.1.5.tar.gz
cd openssl-3.1.5
export TOOLCHAIN=/home/ubuntu/Downloads/build/oscam/armv7-eabihf--glibc--stable-2018.11-1
export CC=$TOOLCHAIN/bin/arm-buildroot-linux-gnueabihf-gcc
export RANLIB=$TOOLCHAIN/bin/arm-buildroot-linux-gnueabihf-ranlib
./Configure --prefix=$TOOLCHAIN/arm-buildroot-linux-gnueabihf/sysroot/usr/ linux-generic32 shared
make
sudo make install_sw
#####Step 2#####
Code:
git clone https://github.com/oe-mirrors/libdvbcsa.git
cd libdvbcsa
export TOOLCHAIN=/home/ubuntu/Downloads/build/oscam/armv7-eabihf--glibc--stable-2018.11-1
export CC=$TOOLCHAIN/bin/arm-buildroot-linux-gnueabihf-gcc
export RANLIB=$TOOLCHAIN/bin/arm-buildroot-linux-gnueabihf-ranlib
./bootstrap
./configure --prefix=$TOOLCHAIN/arm-buildroot-linux-gnueabihf/sysroot/usr/ --host=arm-buildroot-linux-gnueabihf --enable-neon
make
sudo make install
#####Step 3#####
Code:
git clone https://git.streamboard.tv/common/oscam.git/ oscam-svn
cd oscam-svn
###Optional
copy oscam-emu.patch ins oscam-svn Verzeichnis
patch -p0 < oscam-emu.patch oder patch -p1 < oscam-emu.patch
###Optional
make config
make CROSS=/home/ubuntu/Downloads/build/oscam/armv7-eabihf--glibc--stable-2018.11-1/bin/arm-buildroot-linux-gnueabihf-
Quellen:
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.
Sie müssen registriert sein, um Links zu sehen.