Skip to content

Commit

Permalink
meta-adi-xilinx: fix libiio configuration
Browse files Browse the repository at this point in the history
With the changes introduced in [1], libiio now looks for system
dependencies depending on enabled options. Hence, as the serial backend
is enabled by default, libserialport has to be set as DEPENDS. This patch
adds the SERIAL_BACKEND to the list of PACKAGECONFIG for libiio.

[1]: analogdevicesinc/libiio#680
Signed-off-by: Nuno Sá <[email protected]>
  • Loading branch information
nunojsa committed May 20, 2021
1 parent 16a2ac9 commit 7069629
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-adi-xilinx/recipes-support/libiio/libiio_%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ inherit update-rc.d

INITSCRIPT_NAME = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'iiod', '', d)}"

PACKAGECONFIG ?= "USB_BACKEND NETWORK_BACKEND PYTHON_BINDINGS SERIAL_BACKEND"

PACKAGECONFIG[SERIAL_BACKEND] = "-DWITH_SERIAL_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2"

0 comments on commit 7069629

Please sign in to comment.