41 lines
1.5 KiB
PHP
41 lines
1.5 KiB
PHP
# Copyright (C) 2012-2014, 2016 O.S. Systems Software LTDA.
|
|
# Copyright (C) 2012-2016 Freescale Semiconductor
|
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
|
DESCRIPTION = "Freescale Multimedia parser libs"
|
|
LICENSE = "Proprietary"
|
|
SECTION = "multimedia"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6b552f505eedab4a11ab538cf3db743a"
|
|
|
|
# For backwards compatibility
|
|
PROVIDES += "libfslparser"
|
|
RREPLACES_${PN} = "libfslparser"
|
|
RPROVIDES_${PN} = "libfslparser"
|
|
RCONFLICTS_${PN} = "libfslparser"
|
|
|
|
inherit fsl-eula-unpack autotools pkgconfig
|
|
|
|
SRC_URI = "${FSL_MIRROR}/${BP}.bin;fsl-eula=true"
|
|
|
|
# Choose between 32bit and 64bit binaries
|
|
EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \
|
|
bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d), d)}"
|
|
|
|
INHIBIT_PACKAGE_STRIP = "1"
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
|
|
python __set_insane_skip() {
|
|
# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
|
|
# the source we cannot fix it. Disable the insane check for now.
|
|
# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
|
|
for p in d.getVar('PACKAGES', True).split():
|
|
d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel")
|
|
}
|
|
|
|
do_package_qa[prefuncs] += "__set_insane_skip"
|
|
|
|
# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
|
|
FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
|
|
|
|
|
|
INHIBIT_SYSROOT_STRIP = "1"
|