diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-07-23 12:12:13 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:05 -0400 |
commit | b3c3da71ed88c06bc18a4d8919c6e4af3b933566 (patch) | |
tree | 2c872dc4d5e9a6fe104704f95c7acf920236396c /fs/btrfs/Makefile | |
parent | 4881ee5a2e995c6a8999b56de70aa3834369d8ee (diff) |
Btrfs: Add version strings on module load
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index 0e2dcc718de..f8a38b0da7f 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -14,8 +14,12 @@ else # Normal Makefile KERNELDIR := /lib/modules/`uname -r`/build -all: +all: version $(MAKE) -C $(KERNELDIR) M=`pwd` modules + +version: + bash version.sh + modules_install: $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install clean: |