summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-07-23 18:12:13 +0200
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:04:05 +0200
commitb3c3da71ed88c06bc18a4d8919c6e4af3b933566 (patch)
tree2c872dc4d5e9a6fe104704f95c7acf920236396c /fs/btrfs/Makefile
parentBtrfs: Fix some build problems on 2.6.18 based enterprise kernels (diff)
downloadlinux-b3c3da71ed88c06bc18a4d8919c6e4af3b933566.tar.xz
linux-b3c3da71ed88c06bc18a4d8919c6e4af3b933566.zip
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
# 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: