summarylogtreecommitdiffstats
path: root/Makefile
blob: 83fde0d99b22f765c597a9d8ab18aef9a3b6780b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ifneq (${KERNELRELEASE},)
ccflags-y := -I$(src)/include
obj-m += src/fs/bcachefs/
else
KDIR ?= /lib/modules/`uname -r`/build

default:
	$(MAKE) -C $(KDIR) M=$$PWD modules

clean:
	$(MAKE) -C $(KDIR) M=$$PWD clean
endif