f1b5618e01
Add a sample program to demonstrate fsopen/fsmount/move_mount to mount something. To make it compile on all arches, irrespective of whether or not syscall numbers are assigned, define the syscall number to -1 if it isn't to cause the kernel to return -ENOSYS. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
11 lines
268 B
Makefile
11 lines
268 B
Makefile
# List of programs to build
|
|
hostprogs-$(CONFIG_SAMPLE_VFS) := \
|
|
test-fsmount \
|
|
test-statx
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|
|
|
|
HOSTCFLAGS_test-fsmount.o += -I$(objtree)/usr/include
|
|
HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include
|