Btrfs: Add version strings on module load
[pandora-kernel.git] / fs / btrfs / Makefile
index 0e2dcc7..f8a38b0 100644 (file)
@@ -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: