diff options
Diffstat (limited to 'samples/landlock/Makefile')
| -rw-r--r-- | samples/landlock/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/samples/landlock/Makefile b/samples/landlock/Makefile new file mode 100644 index 000000000..db5d327e1 --- /dev/null +++ b/samples/landlock/Makefile @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: BSD-3-Clause + +userprogs-always-y := sandboxer + +userccflags += -I usr/include + +ifeq ($(CONFIG_SAMPLE_LANDLOCK_LIBCAP),y) +userccflags += -DUSE_LIBCAP +userldlibs += -lcap +endif + +.PHONY: all clean + +all: + $(MAKE) -C ../.. samples/landlock/ + +clean: + $(MAKE) -C ../.. M=samples/landlock/ clean |
