Hi,
i have created image OS file for i.mx 8 board using yocto project. I'm trying to setup the i.mx Linux for wisun based border router,while configuring i was getting the error for few packages which i have mentioned below. how to create custom recipe for those packages,can please help me on the recipes creation for below packages?
======================================================
root@imx8mn-lpddr4-evk:~/wisun-br-linux# cmake -G Ninja .
-- Could NOT find Rust (missing: RUST_COMMAND RUST_TARGET) (Required is at least version "1.38")
-- Checking for module 'libcap>=2.29'
-- No package 'libcap' found
-- Checking for module 'libsystemd'
-- No package 'libsystemd' found
-- Checking for module 'libnl-route-3.0'
-- No package 'libnl-route-3.0' found
CMake Error at /usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:607 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPkgConfig.cmake:829 (_pkg_check_modules_internal)
CMakeLists.txt:73 (pkg_check_modules)
=============================================================
Thank you
Hi @jimmychan Sir, Thank you for your response.
I have added those packages into local.conf file,but still i'm facing the same issue.
those software packages are available in below mentioned yocto source directory
=== Matching recipes: ===
/home/arrow/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-support/libcap/libcap_2.67.bb
=== Matching recipes: ===
/home/arrow/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-core/systemd/systemd_253.1.bb
== Matching recipes: ===
/home/arrow/Desktop/imx-yocto-bsp/sources/poky/meta/recipes-support/libnl/libnl_3.7.0.bb
modified local.conf with,
IMAGE_INSTALL:append = " libcap libsystemd libnl"
can you please help me to create .bb file ?
i'm trying to do below setup on i.mx
https://github.com/SiliconLabs/wisun-br-linux?tab=readme-ov-file
Thank you
I think it is better to ask Silicon Labs. They may have document about building the code in Yocto.
You could search the software package in the Yocto first. (in yocto_folder/sources/)
There should have .bb file for the package in Yocto.
Then, use "IMAGE_INSTALL:append" to add the package name in the local.conf file. So, you will get the software package installed in your built image.
If the .bb file of the software package is not exist in Yocto, then you could create a .bb file by yourself.