Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylon on yocto for x86 #2

Open
yrodriguez31 opened this issue May 31, 2023 · 0 comments
Open

Pylon on yocto for x86 #2

yrodriguez31 opened this issue May 31, 2023 · 0 comments

Comments

@yrodriguez31
Copy link

yrodriguez31 commented May 31, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant