Skip to content
Snippets Groups Projects
Commit 1b3a1d0d authored by Felix Fietkau's avatar Felix Fietkau
Browse files

make sure iw doesn't get compiled on older kernels

SVN-Revision: 9639
parent 661d9702
No related branches found
No related tags found
No related merge requests found
...@@ -38,9 +38,11 @@ MAKE_FLAGS += \ ...@@ -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" \ 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" 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_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iw $(1)/usr/sbin/ $(INSTALL_BIN) $(PKG_BUILD_DIR)/iw $(1)/usr/sbin/
endef endef
endif
$(eval $(call BuildPackage,iw)) $(eval $(call BuildPackage,iw))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment