From 85af4e7c4cdf3053172ffe2e5e07d866467a592d Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 25 Nov 2018 10:20:10 +0100 Subject: build: add missing UDEV_CFLAGS Some targets link UDEV_LIBS, which means they also need UDEV_CFLAGS in their (or the global) CPPFLAGS. --- Makefile.tools | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.tools') diff --git a/Makefile.tools b/Makefile.tools index 55e769d8c..35412ca61 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -38,6 +38,7 @@ monitor_btmon_SOURCES = monitor/main.c monitor/bt.h \ monitor/intel.h monitor/intel.c \ monitor/broadcom.h monitor/broadcom.c \ monitor/tty.h +monitor_btmon_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS) monitor_btmon_LDADD = lib/libbluetooth-internal.la \ src/libshared-mainloop.la $(UDEV_LIBS) endif @@ -187,6 +188,7 @@ noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest \ tools/gatt-service profiles/iap/iapd tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c +tools_bdaddr_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS) tools_bdaddr_LDADD = lib/libbluetooth-internal.la $(UDEV_LIBS) tools_avinfo_LDADD = lib/libbluetooth-internal.la @@ -336,6 +338,7 @@ tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c tools_hciconfig_LDADD = lib/libbluetooth-internal.la tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c +tools_hcitool_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS) tools_hcitool_LDADD = lib/libbluetooth-internal.la $(UDEV_LIBS) tools_hcidump_SOURCES = tools/hcidump.c \ @@ -389,6 +392,7 @@ udevdir = $(UDEV_DIR) udev_PROGRAMS = tools/hid2hci +tools_hid2hci_CPPFLAGS = $(AM_CPPFLAGS) $(UDEV_CFLAGS) tools_hid2hci_LDADD = $(UDEV_LIBS) dist_man_MANS += tools/hid2hci.1 -- cgit v1.2.1