This is ter info for all persons who build their own pli4 image or perhaps ussefull for those who are developping image based on pli.
Those who build are I guess all aware that oscam can be compiled with using make or cmake. In the very beginning it was only possible using cmake. Then some persons added make... configure possibility. Later on some persons improved it all but at the end wanted to remove cmake (while it was only documented for and with cmake).
It's a whole saga on this story.
The way how to configure when not using cmake has been documented now since about 2 years , but divers from the general standard using ./configure(not avbl by oscam) followed by make . That's why in a bb enviroment it did not worked out.
I now found the way how to compile oscam binary whitout using cmake in a project like pli4.
Here an example for the bitbake file binary only build ...
DESCRIPTION = "Oscam binary, freshly compiled" LICENSE = "GPLv3" SRCREV ?= "${AUTOREV}" MODULE = "trunk" PV = "svn${SRCPV}" PR = "r3" DEPENDS = "libusb1 openssl" RDEPENDS_${PN} = "openssl" RPROVIDES_${PN} = "oscamcvr" EXTRA_OEMAKE = "CROSS=${TMPDIR}/sysroots/${BUILD_ARCH}-linux/usr/bin/mips32el-oe-linux/mipsel-oe-linux- \ OSCAM_BIN=Distribution/oscampli4 USE_SSL=1 USE_LIBUSB=1 LIBUSB_LIB=${TMPDIR}/sysroots/${MACHINE}/lib/libusb-1.0.a" INHIBIT_PACKAGE_STRIP = "1" SVNDIR = "${DL_DIR}/svn/cvroscam" SRC_URI = "svn://streamboard.tv/svn/oscam;module=trunk;protocol=http;scmdata=keep" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" S = "${WORKDIR}/${MODULE}" PACKAGES = "${PN} enigma2-plugin-softcams-oscamcvr-utils-list-smargo" FILES_${PN} = "/usr/bin/oscamcvr" FILES_enigma2-plugin-softcams-oscamcvr-utils-list-smargo = "/usr/bin/list_smargo" do_install () { install -d ${D}/usr/bin install -m 0755 ${S}/Distribution/oscampli4 ${D}/usr/bin/oscamcvr install -m 0755 ${S}/Distribution/list_smargo* ${D}/usr/bin/list_smargo }
this I put it in a file called for example oscamcvr.bb
It will build the oscam binary for mipsel32 . standard oscam configs with libusb static ssl dynamic included. It will also build the list_smargo utility in a separate ipk file.