X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a8060f110a2f805e010b940b5a3f3e712d8ea9f3..b542c574c4709174ff93a74411238ebd8f899bf3:/package/iw/Makefile diff --git a/package/iw/Makefile b/package/iw/Makefile index 36361fb31..024dfde24 100644 --- a/package/iw/Makefile +++ b/package/iw/Makefile @@ -38,9 +38,11 @@ MAKE_FLAGS += \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/mac80211 -I$(STAGING_DIR)/usr/include/libnl -I$(STAGING_DIR)/usr/include" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -lnl" -define Package/iw/install +ifneq ($(CONFIG_LINUX_2_6_23),) + define Package/iw/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/iw $(1)/usr/sbin/ -endef + endef +endif $(eval $(call BuildPackage,iw))