Skip to content

Commit

Permalink
libiio: mark libxml2 as depends for usb_backend
Browse files Browse the repository at this point in the history
When usb_backend is configured, libxml2 is set as a RDEPEND. But, in
reality we want it to be part of the DEPENDS list.

Signed-off-by: Nuno Sá <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
nunojsa authored and kraj committed May 17, 2021
1 parent 31c3d52 commit a41f427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-oe/recipes-support/libiio/libiio_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ EXTRA_OECMAKE = " \

PACKAGECONFIG ??= "usb_backend network_backend serial_backend"

PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1,libxml2"
PACKAGECONFIG[usb_backend] = "-DWITH_USB_BACKEND=ON,-DWITH_USB_BACKEND=OFF,libusb1 libxml2"
PACKAGECONFIG[network_backend] = "-DWITH_NETWORK_BACKEND=ON,-DWITH_NETWORK_BACKEND=OFF,libxml2"
PACKAGECONFIG[serial_backend] = "-DWITH_SERIAL_BACKEND=ON,-DWITH_SERIAL_BACKEND=off,libserialport libxml2"
PACKAGECONFIG[libiio-python3] = "-DPYTHON_BINDINGS=ON,-DPYTHON_BINDINGS=OFF"
Expand Down

0 comments on commit a41f427

Please sign in to comment.