X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6f2c5c53e8bd71563c3968bf0c81f4d8a388e687..3811f77e30bd1ced9f69708b3dbcf28bf3ba88d1:/package/wprobe/Makefile diff --git a/package/wprobe/Makefile b/package/wprobe/Makefile index 7b49b6598..a28ad930d 100644 --- a/package/wprobe/Makefile +++ b/package/wprobe/Makefile @@ -45,7 +45,7 @@ endef define Package/wprobe-export SECTION:=net CATEGORY:=Network - DEPENDS:=+kmod-wprobe +libnl-tiny + DEPENDS:=+wprobe-info TITLE:=Wireless measurement data exporter endef @@ -59,9 +59,9 @@ define Build/Prepare $(CP) src/* $(PKG_BUILD_DIR)/ endef -TARGET_CFLAGS += \ +TARGET_CPPFLAGS := \ -I$(STAGING_DIR)/usr/include/libnl-tiny \ - -I$(STAGING_DIR)/usr/include + $(TARGET_CPPFLAGS) ifdef CONFIG_PACKAGE_kmod-wprobe define Build/Compile/kmod @@ -113,8 +113,9 @@ define Package/wprobe-info/install endef define Package/wprobe-export/install - $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d + $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d $(1)/etc/config $(INSTALL_BIN) ./files/wprobe.init $(1)/etc/init.d/ + $(INSTALL_BIN) ./files/wprobe.config $(1)/etc/config/wprobe $(INSTALL_BIN) $(PKG_BUILD_DIR)/exporter/wprobe-export $(1)/sbin/ endef