mcoverlayfs has a high maintenance burden and does not work on rhel8's 4.18 kernel (while it works on vanilla 4.18...); instead of debugging this further time is better spent making it independent from overlayfs. Change-Id: I7454ae95b0fbb3373c256aa2fd83cdfec466c009
25 lines
422 B
Makefile
25 lines
422 B
Makefile
# Makefile.in COPYRIGHT FUJITSU LIMITED 2017-2018
|
|
CC=@CC@
|
|
AR=ar
|
|
BINDIR=@BINDIR@
|
|
KDIR ?= @KDIR@
|
|
CFLAGS=-Wall -O -I.
|
|
VPATH=@abs_srcdir@
|
|
TARGET=../../libmcexec.a
|
|
LIBS=@LIBS@
|
|
|
|
all: $(TARGET)
|
|
|
|
../../libmcexec.a: archdep.o
|
|
$(AR) cr ../../libmcexec.a archdep.o
|
|
|
|
archdep.o: archdep.c archdep.S
|
|
$(CC) -c -I${KDIR} $(CFLAGS) $(EXTRA_CFLAGS) -fPIE -pie -pthread $^
|
|
|
|
clean:
|
|
$(RM) $(TARGET) *.o
|
|
|
|
.PHONY: all clean install
|
|
|
|
install:
|