aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-23 12:12:13 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:05 -0400
commitb3c3da71ed88c06bc18a4d8919c6e4af3b933566 (patch)
tree2c872dc4d5e9a6fe104704f95c7acf920236396c /fs/btrfs/Makefile
parent4881ee5a2e995c6a8999b56de70aa3834369d8ee (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/Makefile6
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
16KERNELDIR := /lib/modules/`uname -r`/build 16KERNELDIR := /lib/modules/`uname -r`/build
17all: 17all: version
18 $(MAKE) -C $(KERNELDIR) M=`pwd` modules 18 $(MAKE) -C $(KERNELDIR) M=`pwd` modules
19
20version:
21 bash version.sh
22
19modules_install: 23modules_install:
20 $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install 24 $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
21clean: 25clean: