mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Update Btrfs files for in-kernel usage
btrfs had magic to put the chagneset id into a printk on module load. This removes that from the Makefile and hardcodes the printk to print "Btrfs" Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
aef8755711
commit
b4f6c45dfb
2 changed files with 5 additions and 6 deletions
|
@ -13,17 +13,12 @@ else
|
||||||
# Normal Makefile
|
# Normal Makefile
|
||||||
|
|
||||||
KERNELDIR := /lib/modules/`uname -r`/build
|
KERNELDIR := /lib/modules/`uname -r`/build
|
||||||
all: version
|
all:
|
||||||
$(MAKE) -C $(KERNELDIR) M=`pwd` modules
|
$(MAKE) -C $(KERNELDIR) M=`pwd` modules
|
||||||
|
|
||||||
version:
|
|
||||||
bash version.sh
|
|
||||||
|
|
||||||
modules_install:
|
modules_install:
|
||||||
$(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
|
$(MAKE) -C $(KERNELDIR) M=`pwd` modules_install
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C $(KERNELDIR) M=`pwd` clean
|
$(MAKE) -C $(KERNELDIR) M=`pwd` clean
|
||||||
|
|
||||||
tester:
|
|
||||||
$(MAKE) -C $(KERNELDIR) M=`pwd` tree-defrag.o transaction.o sysfs.o super.o root-tree.o inode-map.o inode-item.o inode.o file-item.o file.o extent_map.o disk-io.o ctree.o dir-item.o extent-tree.o
|
|
||||||
endif
|
endif
|
||||||
|
|
4
fs/btrfs/version.h
Normal file
4
fs/btrfs/version.h
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#ifndef __BTRFS_VERSION_H
|
||||||
|
#define __BTRFS_VERSION_H
|
||||||
|
#define BTRFS_BUILD_VERSION "Btrfs"
|
||||||
|
#endif
|
Loading…
Reference in a new issue