fix iw compile
authorFelix Fietkau <nbd@openwrt.org>
Sun, 28 Sep 2008 11:01:33 +0000 (11:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 28 Sep 2008 11:01:33 +0000 (11:01 +0000)
SVN-Revision: 12760

package/iw/Makefile

index a4cc8cdee95e2f0fbd759a79fc7c5fa300f74c43..8fd64913b489b84cbc2255d9427820d253024611 100644 (file)
@@ -28,6 +28,7 @@ endef
 
 define Build/Configure
        $(CP) $(PKG_BUILD_DIR)/defconfig $(PKG_BUILD_DIR)/.config
+       echo "#define IW_VERSION \"$(VERSION)\"" > $(PKG_BUILD_DIR)/version.h
 endef
 
 MAKE_FLAGS += \