aboutsummaryrefslogtreecommitdiffstats
path: root/package/iw/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-11-30 11:33:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-11-30 11:33:31 +0000
commit8bff9d673cfa3166cc7926ca09a7076f1cc8f94b (patch)
tree35461c7ed207a9a600162ea7c381b25e6a6b97e5 /package/iw/Makefile
parentfcce43a4a98aeff368657bcee0c5bab11b361c7f (diff)
downloadmaster-187ad058-8bff9d673cfa3166cc7926ca09a7076f1cc8f94b.tar.gz
master-187ad058-8bff9d673cfa3166cc7926ca09a7076f1cc8f94b.tar.bz2
master-187ad058-8bff9d673cfa3166cc7926ca09a7076f1cc8f94b.zip
make sure iw doesn't get compiled on older kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9639 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iw/Makefile')
-rw-r--r--package/iw/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/iw/Makefile b/package/iw/Makefile
index 36361fb317..024dfde24e 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))