summaryrefslogtreecommitdiff
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
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: