Changeset 1590
- Timestamp:
- 05/22/06 06:39:55 (3 years ago)
- Files:
-
- trunk/Makefile (modified) (3 diffs)
- trunk/Makefile.inc (modified) (1 diff)
- trunk/ath/if_ath_ahb.c (modified) (2 diffs)
- trunk/ath/if_ath_pci.c (modified) (2 diffs)
- trunk/ath_rate/amrr/amrr.c (modified) (2 diffs)
- trunk/ath_rate/onoe/onoe.c (modified) (2 diffs)
- trunk/ath_rate/sample/sample.c (modified) (2 diffs)
- trunk/net80211/ieee80211_linux.c (modified) (2 diffs)
- trunk/release.h (modified) (1 diff)
- trunk/scripts/make-release.bash (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Makefile
r1535 r1590 47 47 DIRS_MODULES= ${ATH_HAL} ${WLAN} ${ATH_RATE} ${ATH} 48 48 49 # export for make-release.bash 50 export ATH_HAL 51 49 52 all: modules tools 50 53 51 modules: configcheck svnversion.h 54 modules: configcheck svnversion.h 52 55 mkdir -p ${SYMBOLSDIR} 53 56 for i in ${DIRS_MODULES}; do \ … … 59 62 if [ -d .svn ]; then \ 60 63 ver=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'`; \ 64 echo "#define SVNVERSION \"svn r$$ver\"" > $@; \ 61 65 elif [ -s SNAPSHOT ]; then \ 62 66 ver=`sed -e '/^Revision: */!d;s///;q' SNAPSHOT`; \ 63 else \ 64 ver=`date +%F`; \ 67 echo "#define SVNVERSION \"svn r$$ver\"" > $@; \ 65 68 fi; \ 66 echo "#define SVNVERSION \"$$ver\"" > $@67 69 68 70 # conflicts with the 'tools' subdirectory … … 131 133 @echo "ok." 132 134 135 .PHONY: release 136 release: 137 sh scripts/make-release.bash 138 133 139 # new targets should be inserted ABOVE this line in order to avoid 134 140 # problems with the included kernel configuration file below. trunk/Makefile.inc
r1535 r1590 213 213 214 214 SYMBOLSDIR=${DEPTH}/symbols 215 216 217 # The following variables will affect developers only, and are used in the 218 # make-release.bash script. 219 # 220 # RELEASE_TMP is used as a temporary store for the files needed to create the 221 # release tarball. Packaging will take place in TMPDIR/madwifi-release. 222 # Defaults to /tmp. 223 RELEASE_TMP=/tmp 224 225 # RELEASE_STORE is the (local) directory where the release tarball should be 226 # stored in. Defaults to the parent directory of the working copy used to 227 # create the release. 228 RELEASE_STORE=.. 229 230 # expose these settings to make-release.bash 231 export RELEASE_TMP RELEASE_STORE trunk/ath/if_ath_ahb.c
r1525 r1590 401 401 */ 402 402 #include "version.h" 403 #include " svnversion.h"404 static char *version = ATH_PCI_VERSION " ( svn " SVNVERSION ")";403 #include "release.h" 404 static char *version = ATH_PCI_VERSION " (" RELEASE_VERSION ")"; 405 405 static char *dev_info = "ath_ahb"; 406 406 … … 424 424 MODULE_DESCRIPTION("Support for Atheros 802.11 wireless LAN cards."); 425 425 #ifdef MODULE_VERSION 426 MODULE_VERSION( "svn "SVNVERSION);426 MODULE_VERSION(RELEASE_VERSION); 427 427 #endif 428 428 MODULE_SUPPORTED_DEVICE("Atheros WLAN cards"); trunk/ath/if_ath_pci.c
r1556 r1590 318 318 */ 319 319 #include "version.h" 320 #include " svnversion.h"321 static char *version = ATH_PCI_VERSION " ( svn " SVNVERSION ")";320 #include "release.h" 321 static char *version = ATH_PCI_VERSION " (" RELEASE_VERSION ")"; 322 322 static char *dev_info = "ath_pci"; 323 323 … … 346 346 MODULE_DESCRIPTION("Support for Atheros 802.11 wireless LAN cards."); 347 347 #ifdef MODULE_VERSION 348 MODULE_VERSION( "svn "SVNVERSION);348 MODULE_VERSION(RELEASE_VERSION); 349 349 #endif 350 350 MODULE_SUPPORTED_DEVICE("Atheros WLAN cards"); trunk/ath_rate/amrr/amrr.c
r1525 r1590 548 548 static struct ctl_table_header *ath_sysctl_header; 549 549 550 #include " svnversion.h"551 static char *version = "0.1 ( svn " SVNVERSION ")";550 #include "release.h" 551 static char *version = "0.1 (" RELEASE_VERSION ")"; 552 552 static char *dev_info = "ath_rate_amrr"; 553 553 … … 555 555 MODULE_DESCRIPTION("AMRR Rate control algorithm"); 556 556 #ifdef MODULE_VERSION 557 MODULE_VERSION( "svn "SVNVERSION);557 MODULE_VERSION(RELEASE_VERSION); 558 558 #endif 559 559 #ifdef MODULE_LICENSE trunk/ath_rate/onoe/onoe.c
r1525 r1590 495 495 static struct ctl_table_header *ath_sysctl_header; 496 496 497 #include " svnversion.h"498 static char *version = "1.0 ( svn " SVNVERSION ")";497 #include "release.h" 498 static char *version = "1.0 (" RELEASE_VERSION ")"; 499 499 static char *dev_info = "ath_rate_onoe"; 500 500 … … 502 502 MODULE_DESCRIPTION("Atsushi Onoe's rate control algorithm for Atheros devices"); 503 503 #ifdef MODULE_VERSION 504 MODULE_VERSION( "svn "SVNVERSION);504 MODULE_VERSION(RELEASE_VERSION); 505 505 #endif 506 506 #ifdef MODULE_LICENSE trunk/ath_rate/sample/sample.c
r1525 r1590 104 104 */ 105 105 106 #include " svnversion.h"107 static char *version = "1.2 ( svn " SVNVERSION ")";106 #include "release.h" 107 static char *version = "1.2 (" RELEASE_VERSION ")"; 108 108 static char *dev_info = "ath_rate_sample"; 109 109 … … 940 940 MODULE_DESCRIPTION("SampleRate bit-rate selection algorithm for Atheros devices"); 941 941 #ifdef MODULE_VERSION 942 MODULE_VERSION( "svn "SVNVERSION);942 MODULE_VERSION(RELEASE_VERSION); 943 943 #endif 944 944 #ifdef MODULE_LICENSE trunk/net80211/ieee80211_linux.c
r1525 r1590 746 746 */ 747 747 #include "version.h" 748 #include " svnversion.h"749 static char *version = WLAN_VERSION " ( svn " SVNVERSION ")";748 #include "release.h" 749 static char *version = WLAN_VERSION " (" RELEASE_VERSION ")"; 750 750 static char *dev_info = "wlan"; 751 751 … … 753 753 MODULE_DESCRIPTION("802.11 wireless LAN protocol support"); 754 754 #ifdef MODULE_VERSION 755 MODULE_VERSION( "svn "SVNVERSION);755 MODULE_VERSION(RELEASE_VERSION); 756 756 #endif 757 757 #ifdef MODULE_LICENSE trunk/release.h
r1426 r1590 36 36 * $Id$ 37 37 */ 38 #include "svnversion.h" 38 39 #define RELEASE_TYPE "BETA" 40 #define RELEASE_VERSION SVNVERSION
