mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 23:47:06 +00:00
The memfd & fuse tests will share more common code in the following commits to test hugetlb support. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Marc-André Lureau <[email protected]> Reviewed-by: Mike Kravetz <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: Michal Hocko <[email protected]> Cc: David Herrmann <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
20 lines
502 B
Makefile
20 lines
502 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
CFLAGS += -D_FILE_OFFSET_BITS=64
|
|
CFLAGS += -I../../../../include/uapi/
|
|
CFLAGS += -I../../../../include/
|
|
CFLAGS += -I../../../../usr/include/
|
|
|
|
TEST_PROGS := run_tests.sh
|
|
TEST_GEN_FILES := memfd_test fuse_mnt fuse_test
|
|
|
|
fuse_mnt.o: CFLAGS += $(shell pkg-config fuse --cflags)
|
|
|
|
include ../lib.mk
|
|
|
|
$(OUTPUT)/fuse_mnt: LDLIBS += $(shell pkg-config fuse --libs)
|
|
|
|
$(OUTPUT)/memfd_test: memfd_test.c common.o
|
|
$(OUTPUT)/fuse_test: fuse_test.c common.o
|
|
|
|
EXTRA_CLEAN = common.o
|