diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-11-30 11:33:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-11-30 11:33:31 +0000 |
commit | 1b3a1d0de1a23863abcd4167411b124166c5dcc4 (patch) | |
tree | 84fa3abff23eaeaf93a0fa1c979543e2daa428a8 /package/iw/Makefile | |
parent | 661d97025a713bed1741e78c490c5de1446b0942 (diff) | |
download | mtk-20170518-1b3a1d0de1a23863abcd4167411b124166c5dcc4.zip mtk-20170518-1b3a1d0de1a23863abcd4167411b124166c5dcc4.tar.gz mtk-20170518-1b3a1d0de1a23863abcd4167411b124166c5dcc4.tar.bz2 |
make sure iw doesn't get compiled on older kernels
SVN-Revision: 9639
Diffstat (limited to 'package/iw/Makefile')
-rw-r--r-- | package/iw/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/package/iw/Makefile b/package/iw/Makefile index 36361fb..024dfde 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)) |