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 0e2dcc718de2..f8a38b0da7fb 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile | |||
@@ -14,8 +14,12 @@ else | |||
14 | # Normal Makefile | 14 | # Normal Makefile |
15 | 15 | ||
16 | KERNELDIR := /lib/modules/`uname -r`/build | 16 | KERNELDIR := /lib/modules/`uname -r`/build |
17 | all: | 17 | all: version |
18 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules | 18 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules |
19 | |||
20 | version: | ||
21 | bash version.sh | ||
22 | |||
19 | modules_install: | 23 | modules_install: |
20 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install | 24 | $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install |
21 | clean: | 25 | clean: |