meta-digi: remove obsolete overlayed recipes
Code clean up, remove recipes that have been updated in meta-freescale. Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
9936c192d2
commit
272edd8af7
|
|
@ -1,12 +0,0 @@
|
|||
# Copyright 2019-2021 NXP
|
||||
|
||||
DESCRIPTION = "i.MX vc8000e encoder library"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
SRC_URI[md5sum] = "c24e2622c522bb4bc2da710c27389ee4"
|
||||
SRC_URI[sha256sum] = "338eaa313cfa6f93eee5930903386fca922f82fda3617ecb2597cc90ccf8f22d"
|
||||
|
||||
inherit fsl-eula2-unpack2
|
||||
|
||||
COMPATIBLE_MACHINE = "(imx8mpevk)"
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# Copyright (C) 2021 Digi International.
|
||||
|
||||
# Make the package compatible with al platforms, not just with NXP's EVK
|
||||
COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 2021 NXP
|
||||
DESCRIPTION = "i.MX Hantro V4L2 Daemon"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cd8bc2a79509c22fc9c1782a151210b1"
|
||||
|
||||
DEPENDS = "imx-vpu-hantro"
|
||||
DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
|
||||
|
||||
SRC_URI = " \
|
||||
${FSL_MIRROR}/${BP}.tar.gz \
|
||||
"
|
||||
SRC_URI[md5sum] = "99e96b2e00516d56a78a95a80851076b"
|
||||
SRC_URI[sha256sum] = "e7b3d55f72e233179b1b28c03628139b463d1994d140fed3c3e0796c66e917c8"
|
||||
|
||||
PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
|
||||
PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
|
||||
PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
CROSS_COMPILE="${HOST_PREFIX}" \
|
||||
SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
|
||||
CTRLSW_HDRPATH="${STAGING_INCDIR}" \
|
||||
PLATFORM="${PLATFORM}" \
|
||||
"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DEST_DIR="${D}"
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_SOCARCH}"
|
||||
COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright 2017-2020 NXP
|
||||
DESCRIPTION = "i.MX Hantro VPU library"
|
||||
LICENSE = "Proprietary"
|
||||
|
||||
PROVIDES = "virtual/imxvpu"
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
|
||||
inherit fsl-eula-unpack use-imx-headers
|
||||
|
||||
PARALLEL_MAKE="-j 1"
|
||||
|
||||
PLATFORM:mx8mm-nxp-bsp = "IMX8MM"
|
||||
PLATFORM:mx8mq-nxp-bsp = "IMX8MQ"
|
||||
PLATFORM:mx8mp-nxp-bsp = "IMX8MP"
|
||||
|
||||
EXTRA_OEMAKE = " \
|
||||
CROSS_COMPILE="${HOST_PREFIX}" \
|
||||
SDKTARGETSYSROOT="${STAGING_DIR_TARGET}" \
|
||||
PLATFORM="${PLATFORM}" \
|
||||
"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install DEST_DIR="${D}"
|
||||
}
|
||||
|
||||
FILES:${PN} += "/unit_tests"
|
||||
|
||||
RDEPENDS:${PN} += "imx-vpu-hantro-daemon"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8mq-nxp-bsp|mx8mm-nxp-bsp|mx8mp-nxp-bsp)"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
# Copyright 2017-2020 NXP
|
||||
|
||||
require imx-vpu-hantro.inc
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
SRC_URI[md5sum] = "1f99c6941b8a51035b52cc5bc72faa3d"
|
||||
SRC_URI[sha256sum] = "aa9461a152e13a1caa852f29ae18fd33aebd90c8a2b49519003e632687fe89d6"
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
# Copyright (C) 2013-2018 O.S. Systems Software LTDA.
|
||||
# Copyright (C) 2013-2016 Freescale Semiconductor
|
||||
# Copyright 2017-2020 NXP
|
||||
|
||||
DESCRIPTION = "Freescale VPU library"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=228c72f2a91452b8a03c4cab30f30ef9"
|
||||
|
||||
PROVIDES = "virtual/imxvpu"
|
||||
RPROVIDES:${PN} = "virtual/imxvpu"
|
||||
|
||||
PE = "1"
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
SRC_URI[md5sum] = "6d6302189a6704874375afe62a65def0"
|
||||
SRC_URI[sha256sum] = "87cb799a57df654db29403cb74a75ca5185a1517022d3a4a16b8d69056c36127"
|
||||
|
||||
inherit fsl-eula-unpack use-imx-headers
|
||||
|
||||
PLATFORM = "IMX6Q"
|
||||
|
||||
do_compile() {
|
||||
INCLUDE_DIR="-I${STAGING_INCDIR_IMX}"
|
||||
oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
|
||||
}
|
||||
|
||||
do_install() {
|
||||
oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
|
||||
}
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)"
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
# Copyright 2020-2021 NXP
|
||||
|
||||
DESCRIPTION = "Basler camera binary drivers"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
inherit fsl-eula-unpack
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BPN}-${PV}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[md5sum] = "489763169857773bade28611e649172e"
|
||||
SRC_URI[sha256sum] = "3d4ae594659a697eef7479ca2480cc53f1d460f22bcc1c58104cff63bc6705fe"
|
||||
|
||||
do_install() {
|
||||
dest_dir=${D}/opt/imx8-isp/bin
|
||||
install -d ${D}/${libdir}
|
||||
install -d $dest_dir
|
||||
cp -r ${S}/opt/imx8-isp/bin/* $dest_dir
|
||||
cp -r ${S}/usr/lib/* ${D}/${libdir}
|
||||
}
|
||||
|
||||
SYSTEMD_AUTO_ENABLE = "enable"
|
||||
|
||||
FILES:${PN} = "${libdir} /opt"
|
||||
INSANE_SKIP:${PN} = "file-rdeps already-stripped"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
|
||||
|
|
@ -1,80 +0,0 @@
|
|||
# Copyright 2020-2021 NXP
|
||||
|
||||
DESCRIPTION = "i.MX Verisilicon Software ISP"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
DEPENDS = "python3 libdrm virtual/libg2d libtinyxml2"
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
SRC_URI[md5sum] = "f490153dbec234a04416ad41834806b2"
|
||||
SRC_URI[sha256sum] = "83b24b9d1f7a40a506a45a1c5c2ef2ca2313fe9b23fde591e3b7dce77ea359ca"
|
||||
|
||||
inherit fsl-eula-unpack cmake systemd use-imx-headers
|
||||
|
||||
# Build the sub-folder appshell
|
||||
OECMAKE_SOURCEPATH = "${S}/appshell"
|
||||
|
||||
# Use make instead of ninja
|
||||
OECMAKE_GENERATOR = "Unix Makefiles"
|
||||
|
||||
SYSTEMD_SERVICE:${PN} = "imx8-isp.service"
|
||||
|
||||
EXTRA_OECMAKE += " \
|
||||
-DSDKTARGETSYSROOT=${STAGING_DIR_HOST} \
|
||||
-DCMAKE_BUILD_TYPE=release \
|
||||
-DISP_VERSION=ISP8000NANO_V1802 \
|
||||
-DPLATFORM=ARM64 \
|
||||
-DAPPMODE=V4L2 \
|
||||
-DQTLESS=1 \
|
||||
-DFULL_SRC_COMPILE=1 \
|
||||
-DWITH_DRM=1 \
|
||||
-DWITH_DWE=1 \
|
||||
-DSERVER_LESS=1 \
|
||||
-DSUBDEV_V4L2=1 \
|
||||
-DENABLE_IRQ=1 \
|
||||
-DPARTITION_BUILD=0 \
|
||||
-D3A_SRC_BUILD=0 \
|
||||
-DIMX_G2D=ON \
|
||||
-Wno-dev \
|
||||
"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/${libdir}
|
||||
install -d ${D}/${includedir}
|
||||
install -d ${D}/opt/imx8-isp/bin
|
||||
|
||||
cp -r ${WORKDIR}/build/generated/release/bin/*_test ${D}/opt/imx8-isp/bin
|
||||
cp -r ${WORKDIR}/build/generated/release/bin/*2775* ${D}/opt/imx8-isp/bin
|
||||
cp -r ${WORKDIR}/build/generated/release/bin/isp_media_server ${D}/opt/imx8-isp/bin
|
||||
cp -r ${WORKDIR}/build/generated/release/bin/vvext ${D}/opt/imx8-isp/bin
|
||||
cp -r ${WORKDIR}/build/generated/release/lib/*.so* ${D}/${libdir}
|
||||
cp -r ${WORKDIR}/build/generated/release/include/* ${D}/${includedir}
|
||||
|
||||
cp ${WORKDIR}/${BP}/imx/run.sh ${D}/opt/imx8-isp/bin
|
||||
cp ${WORKDIR}/${BP}/imx/start_isp.sh ${D}/opt/imx8-isp/bin
|
||||
|
||||
chmod +x ${D}/opt/imx8-isp/bin/run.sh
|
||||
chmod +x ${D}/opt/imx8-isp/bin/start_isp.sh
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/${BP}/imx/imx8-isp.service ${D}${systemd_system_unitdir}
|
||||
fi
|
||||
}
|
||||
|
||||
# The build contains a mix of versioned and unversioned libraries, so
|
||||
# the default packaging configuration needs some modifications
|
||||
FILES_SOLIBSDEV = ""
|
||||
FILES:${PN} += "/opt ${libdir}/lib*${SOLIBSDEV}"
|
||||
FILES:${PN}-dev += " \
|
||||
${libdir}/libjsoncpp.so \
|
||||
${libdir}/libos08a20.so \
|
||||
${libdir}/libov2775.so \
|
||||
"
|
||||
|
||||
INSANE_SKIP:${PN} = "rpaths"
|
||||
|
||||
RDEPENDS:${PN} = "libdrm libpython3 bash"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8mp-nxp-bsp)"
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 2018-2021 NXP
|
||||
|
||||
DESCRIPTION = "i.MX DSP Codec Wrapper and Lib owned by NXP"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
inherit fsl-eula-unpack autotools pkgconfig
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[md5sum] = "9e1d0e06f4fed47a37cb390e135f453f"
|
||||
SRC_URI[sha256sum] = "2703a9dc619a2ac32352d65cfa58f8217e65abcabd33b77b0be02425dc896ae2"
|
||||
|
||||
# Fix strip command failed: 'Unable to recognise the format of the input file'
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INSANE_SKIP:${PN} = "arch dev-so"
|
||||
|
||||
FILES:${PN} += "${libdir}/imx-mm/audio-codec ${datadir}/imx-mm"
|
||||
COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)"
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
# Copyright 2017-2021 NXP
|
||||
|
||||
DESCRIPTION = "i.MX DSP Wrapper, Firmware Binary, Codec Libraries"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
inherit fsl-eula-unpack autotools pkgconfig
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[md5sum] = "238d3f0256573ca657228d7090bcb7d3"
|
||||
SRC_URI[sha256sum] = "13f67f267d6d33e8be2a6c258a46cde3667258ac86435776cbf1a370de611476"
|
||||
|
||||
EXTRA_OECONF = "-datadir=${base_libdir}/firmware --bindir=/unit_tests ${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', ' ', d)}"
|
||||
|
||||
RDEPENDS:${PN} += " imx-dsp-codec-ext"
|
||||
|
||||
FILES:${PN} = "${libdir}/imx-mm/audio-codec/dsp \
|
||||
${libdir}/imx-mm/audio-codec/wrap \
|
||||
${base_libdir}/firmware/imx/dsp \
|
||||
/unit_tests \
|
||||
"
|
||||
|
||||
HIFI4_BIN ?= "hifi4_imx8qmqxp.bin"
|
||||
HIFI4_BIN:mx8qm-nxp-bsp = "hifi4_imx8qmqxp.bin"
|
||||
HIFI4_BIN:mx8qxp-nxp-bsp = "hifi4_imx8qmqxp.bin"
|
||||
HIFI4_BIN:mx8mp-nxp-bsp = "hifi4_imx8mp.bin"
|
||||
HIFI4_BIN:mx8ulp-nxp-bsp = "hifi4_imx8ulp.bin"
|
||||
|
||||
# No need to do install about fsl_unia.h & fsl_types.h, which are duplicate with the ones' in imx-codec
|
||||
do_install:append () {
|
||||
if [ -d ${D}/usr/include/imx-mm/audio-codec ]; then
|
||||
rm -rf ${D}/usr/include/imx-mm/audio-codec
|
||||
fi
|
||||
# Install different DSP Firmware according to the platform
|
||||
if [ -f ${D}/lib/firmware/imx/dsp/${HIFI4_BIN} ]; then
|
||||
# Rename DSP Firmware into hifi4.bin and remove unneeded binary
|
||||
echo "---Rename ${D}/lib/firmware/imx/dsp/${HIFI4_BIN} into ${D}/lib/firmware/imx/dsp/hifi4.bin---"
|
||||
mv ${D}/lib/firmware/imx/dsp/${HIFI4_BIN} ${D}/lib/firmware/imx/dsp/hifi4.bin
|
||||
if [ "${HIFI4_BIN}" = "hifi4_imx8mp.bin" ]; then
|
||||
echo "---Need to install hifi4_imx8mp_lpa.bin as well for i.MX8MP---"
|
||||
find ${D}/lib/firmware/imx/dsp -name hifi4_*.bin -not -name hifi4_imx8mp_lpa.bin -exec rm {} \;
|
||||
else
|
||||
find ${D}/lib/firmware/imx/dsp -name hifi4_*.bin -exec rm {} \;
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
INSANE_SKIP:${PN} = "already-stripped arch ldflags dev-so"
|
||||
|
||||
# Fix strip command failed: 'Unable to recognise the format of the input file'
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)"
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
# Copyright 2019 NXP
|
||||
DESCRIPTION = "NXP Asynchronous Sample Rate Converter"
|
||||
LICENSE = "Proprietary"
|
||||
SECTION = "multimedia"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=72c0f70181bb6e83eee6aab8de12a9f3"
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
|
||||
SRC_URI[md5sum] = "d46005ee29ca603caa2e1b1e82953ff1"
|
||||
SRC_URI[sha256sum] = "e79cbf4788a86a0068bbe80c37317e3332ae76e3d5c3ff2eabd71f03121fab6a"
|
||||
|
||||
inherit fsl-eula-unpack autotools pkgconfig
|
||||
|
||||
EXTRA_OECONF = "--enable-armv8 --libdir=${libdir} --bindir=/unit_tests"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
INHIBIT_SYSROOT_STRIP = "1"
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||
|
||||
FILES:${PN} += "/unit_tests ${datadir}/imx-mm"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright 2020 NXP Semiconductors
|
||||
|
||||
DESCRIPTION = "NXP PDM to PCM Software Decimation SIMD Library"
|
||||
LICENSE = "Proprietary"
|
||||
SECTION = "multimedia"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
||||
SRC_URI[md5sum] = "af01428c2971af339d0308f4aca1dac0"
|
||||
SRC_URI[sha256sum] = "d310ef581f9e6e6d726c5dc8998178b7993680b5552c45561e56ac0e927b6d9c"
|
||||
|
||||
inherit fsl-eula-unpack autotools pkgconfig
|
||||
|
||||
INSANE_SKIP:${PN} = "already-stripped"
|
||||
|
||||
FILES:${PN} += "${datadir}/imx-mm"
|
||||
|
||||
COMPATIBLE_MACHINE = "(mx8-nxp-bsp)"
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright (C) 2013-2016 Freescale Semiconductor
|
||||
# Copyright 2017-2021 NXP
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
DESCRIPTION = "Freescale Multimedia VPU wrapper"
|
||||
LICENSE = "Proprietary"
|
||||
SECTION = "multimedia"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=03bcadc8dc0a788f66ca9e2b89f56c6f"
|
||||
|
||||
DEPENDS = "virtual/imxvpu"
|
||||
DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc"
|
||||
|
||||
IMX_VPUWRAP_SRC ?= "git://github.com/NXP/imx-vpuwrap.git;protocol=https"
|
||||
SRC_URI = "${IMX_VPUWRAP_SRC};branch=${SRCBRANCH}"
|
||||
|
||||
SRCBRANCH = "MM_04.06.03_2110_L5.10.y"
|
||||
SRCREV = "0d600134d132a485a9e5a0fb70959e5a50c9d00b"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install:append() {
|
||||
# FIXME: Drop examples for now
|
||||
rm -r ${D}${datadir}
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
COMPATIBLE_MACHINE = "(imxvpu)"
|
||||
Loading…
Reference in New Issue