mcoverlayfs: add new base from 4.18.14

This just lays out new files so the next commit is easier to review;
nothing changes here

Change-Id: I66669877d2d10632f5436c0eeb32248cd4c8b996
This commit is contained in:
Dominique Martinet
2018-10-17 10:48:51 +09:00
parent 6581f9b4b2
commit fc2775c932
11 changed files with 8677 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
KDIR ?= @KDIR@
ARCH ?= @ARCH@
# POSTK_DEBUG_ARCH_DEP_105 make install DESTDIR enable.
# KMODDIR = @KMODDIR@
DESTDIR ?= @DESTDIR@
KMODDIR = $(DESTDIR)/@KMODDIR@
src = @abs_srcdir@
obj-m += mcoverlay.o
mcoverlay-y := copy_up.o dir.o inode.o readdir.o super.o export.o namei.o util.o
.PHONY: clean install modules
modules:
$(MAKE) -C $(KDIR) M=$(PWD) SUBDIRS=$(PWD) ARCH=$(ARCH) modules
clean:
$(RM) .*.cmd *.mod.c *.o *.ko* Module.symvers modules.order -r .tmp*
install:
mkdir -p -m 755 $(KMODDIR)
install -m 644 mcoverlay.ko $(KMODDIR)