File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed
recipes-connectivity/p-net Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ p-net-sources-1.0.2-20250519.113257-21.zip
Original file line number Diff line number Diff line change 1+ # P-Net Yocto Files
2+
3+ Place source code of p-net in ` p-net-sources.zip ` here
4+ to build from a source dump.
Original file line number Diff line number Diff line change 1+ SUMMARY = "P-Net Profinet communication stack"
2+ LICENSE = "GPL-3.0-or-later"
3+ LIC_FILES_CHKSUM = "file://CMakeLists.txt;beginline=1;endline=14;md5=aa7e6f963fad674b02c35dc8e9aa5519"
4+ SECTION = "libs"
5+ PROVIDES = "p-net"
6+
7+ SRC_URI = "file://p-net-sources-1.0.2-20250519.113257-21.zip"
8+
9+ # Require activation to use the official stack
10+ # since this requires available sources.
11+ DEFAULT_PREFERENCE = "-1"
12+
13+ S = "${WORKDIR} /p-net"
14+
15+ FILES :${PN} -dev += " \
16+ ${prefix} /cmake/*.cmake \
17+ "
18+
19+ FILES :${PN} += " \
20+ ${prefix} /share/profinet \
21+ "
22+
23+ # We need network access to get Osal
24+ EXTRA_OECMAKE += "-DFETCHCONTENT_FULLY_DISCONNECTED=OFF"
25+ do_configure [network ] = "1"
26+
27+ # Disable the tests since build fail
28+ # when cross compiling due to test discovery
29+ # using GOOGLE_TEST_INDIVIDUAL
30+ EXTRA_OECMAKE += "-DBUILD_TESTING=OFF"
31+
32+ inherit pkgconfig cmake
You can’t perform that action at this time.
0 commit comments