Skip to content

Pylon on yocto for x86 #2

@yrodriguez31

Description

@yrodriguez31

Hello,
I'm building an yocto image for an x86_64 board .

I writing my image using the pylon tarbal from officials repo.

My recipe :

SUMMARY = "Basler pylon camera software suite"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://share/pylon/licenses/License.txt;md5=71fd665b3c1cdeedf72522102cbe2bc0
file://share/pylon/licenses/pylon_Third-Party_Licenses.txt;md5=d815bbc83d062eb317456d8fda7f9a43"

PR = "r0"

SRC_URI = "file://pylon_7.2.1.25747_x86_64.tar.gz;subdir=${S}"

RDEPENDS:${PN} = "fontconfig freetype libsm libdrm libxcb-glx"

FILES:${PN} += "/opt/ /usr/bin/pylon"

INSANE_SKIP:${PN} += "already-stripped"
INSANE_SKIP:${PN} += "dev-so"
INSANE_SKIP:${PN} += "dev-elf"
INSANE_SKIP:${PN} += "ldflags"

SKIP_FILEDEPS:${PN} = "1"
SKIP_FILEDEPS:${PN} = "1"

EXCLUDE_FROM_SHLIBS = "1"

SYSROOT_DIRS = "/opt"
PACKAGES:${PN} = "${PN}"

do_install() {

install -d "${D}/opt/pylon"
cp -dR --preserve=mode,links,timestamps --no-preserve=ownership "${S}"/* "${D}/opt/pylon/"
}

I always have an issue on do_image wic .

Do you have a solution to easily integrate pylon for x86_64 boards on yocto ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions