diff options
Diffstat (limited to 'tools/testing/selftests/memfd/Makefile')
-rw-r--r-- | tools/testing/selftests/memfd/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/testing/selftests/memfd/Makefile b/tools/testing/selftests/memfd/Makefile index 191dee9d6fd3..69f08ab51551 100644 --- a/tools/testing/selftests/memfd/Makefile +++ b/tools/testing/selftests/memfd/Makefile | |||
@@ -1,17 +1,18 @@ | |||
1 | CC = $(CROSS_COMPILE)gcc | ||
1 | CFLAGS += -D_FILE_OFFSET_BITS=64 | 2 | CFLAGS += -D_FILE_OFFSET_BITS=64 |
2 | CFLAGS += -I../../../../include/uapi/ | 3 | CFLAGS += -I../../../../include/uapi/ |
3 | CFLAGS += -I../../../../include/ | 4 | CFLAGS += -I../../../../include/ |
4 | 5 | ||
5 | all: | 6 | all: |
6 | gcc $(CFLAGS) memfd_test.c -o memfd_test | 7 | $(CC) $(CFLAGS) memfd_test.c -o memfd_test |
7 | 8 | ||
8 | TEST_PROGS := memfd_test | 9 | TEST_PROGS := memfd_test |
9 | 10 | ||
10 | include ../lib.mk | 11 | include ../lib.mk |
11 | 12 | ||
12 | build_fuse: | 13 | build_fuse: |
13 | gcc $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt | 14 | $(CC) $(CFLAGS) fuse_mnt.c `pkg-config fuse --cflags --libs` -o fuse_mnt |
14 | gcc $(CFLAGS) fuse_test.c -o fuse_test | 15 | $(CC) $(CFLAGS) fuse_test.c -o fuse_test |
15 | 16 | ||
16 | run_fuse: build_fuse | 17 | run_fuse: build_fuse |
17 | @./run_fuse_test.sh || echo "fuse_test: [FAIL]" | 18 | @./run_fuse_test.sh || echo "fuse_test: [FAIL]" |