mac80211: add the real compat-wireless version + openwrt revision to the compat_version
authorFelix Fietkau <nbd@openwrt.org>
Sat, 10 Mar 2012 12:59:21 +0000 (12:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 10 Mar 2012 12:59:21 +0000 (12:59 +0000)
SVN-Revision: 30862

package/mac80211/Makefile

index 0eb6fa803e6cec669879f3132c36640bf55b92be..d2f568fa81f3484a4d6f3dd24f77751db0196b35 100644 (file)
@@ -1299,6 +1299,7 @@ define Build/Prepare
        rm -rf $(PKG_BUILD_DIR)/include/linux/bcma
        rm -f $(PKG_BUILD_DIR)/include/linux/eeprom_93cx6.h
        rm -f $(PKG_BUILD_DIR)/include/net/ieee80211.h
+       echo 'compat-wireless-$(PKG_VERSION)-$(PKG_RELEASE)-$(REVISION)' > $(PKG_BUILD_DIR)/compat_version
 endef
 
 ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)