diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2021-09-17 19:41:26 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2021-10-02 11:12:48 +0200 |
commit | d297e90323f3f129feea237cd48a3fe9a290850b (patch) | |
tree | 3f0751e498b28c411ce673a230d299bec5980666 /scripts/Kconfig | |
parent | 067f4cf79fab8848c0dd3e125e71e9c89a1d14d9 (diff) | |
download | barebox-d297e90323f3f129feea237cd48a3fe9a290850b.tar.gz barebox-d297e90323f3f129feea237cd48a3fe9a290850b.tar.xz |
scripts: omap3-usb-loader: make proper use of pkg-config --cflags
pkg-config --cflags libusb-1.0 should ensure <libusb.h> would be found.
Command's output is used to compile omap3-usb-loader.c, but because the
file does #include <libusb-1.0/libusb.h>, it will probably not find the
header in the directory added to search path by pkg-config and depend on
other directories in the search path. Fix this. We already expect users
to have proper pkg-config files, so linking works, so it's not too much
to ask to expect the pkg-config file that should already exist to yield
proper --cflags as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20210917174127.23345-3-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Kconfig')
0 files changed, 0 insertions, 0 deletions