fix iw compile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 11:01:33 +0000 (11:01 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 28 Sep 2008 11:01:33 +0000 (11:01 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12760 3c298f89-4303-0410-b956-a3cf2f4a3e73

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 += \