contrib/package: complete rework of dependencies, should cure menuconfig issues
[project/luci.git] / contrib / package / iwinfo / Makefile
index c745be7..011f122 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+# Copyright (C) 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
 #
 # This is free software, licensed under the GPL 2 license.
 #
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libiwinfo
-PKG_RELEASE:=11
+PKG_RELEASE:=16
 
 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 
@@ -17,7 +17,7 @@ include $(INCLUDE_DIR)/package.mk
 define Package/libiwinfo
   SECTION:=luci
   CATEGORY:=LuCI
-  SUBMENU:=Libraries
+  SUBMENU:=8. Libraries
   TITLE:=Generalized Wireless Information Library (iwinfo)
   DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny +liblua +lua
   DEFAULT:=PACKAGE_luci-lib-sys
@@ -38,12 +38,15 @@ endef
 
 IWINFO_BACKENDS := \
        $(if $(CONFIG_PACKAGE_kmod-brcm-wl),wl) \
+       $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mini),wl) \
+       $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mimo),wl) \
        $(if $(CONFIG_PACKAGE_kmod-madwifi),madwifi) \
        $(if $(CONFIG_PACKAGE_kmod-mac80211),nl80211)
 
 TARGET_CFLAGS += \
        -I$(STAGING_DIR)/usr/include/libnl-tiny \
-       -I$(STAGING_DIR)/usr/include
+       -I$(STAGING_DIR)/usr/include \
+       -D_GNU_SOURCE
 
 MAKE_FLAGS += \
        FPIC="$(FPIC)" \