remove obsolete kernel dependencies and version checks
[openwrt.git] / package / iw / Makefile
index debb90e6fd1f95292f2bf08665dd52201472cfc1..b7ad749a76b624b9d2650a716bf6eeae456a3aba 100644 (file)
@@ -23,7 +23,7 @@ define Package/iw
   CATEGORY:=Network
   TITLE:=cfg80211 interface configuration utility
   URL:=http://wireless.kernel.org/en/users/Documentation/iw
-  DEPENDS:=@!TARGET_avr32 @!TARGET_etrax +libnl-tiny
+  DEPENDS:= +libnl-tiny @(!(TARGET_avr32||TARGET_etrax)||BROKEN)
 endef
 
 define Build/Configure
@@ -48,11 +48,9 @@ MAKE_FLAGS += \
        LIBS="-lm -lnl-tiny" \
        V=1
 
-ifneq ($(CONFIG_LINUX_2_6),)
-  define Package/iw/install
+define Package/iw/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/iw $(1)/usr/sbin/
-  endef
-endif
+endef
 
 $(eval $(call BuildPackage,iw))