2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/tools/testing/selftests/memfd
SeongJae Park d02db4f5b2 selftest/memfd/Makefile: Fix build error
Selftest for memfd shows build error as below:
```
gcc -D_FILE_OFFSET_BITS=64 -I../../../../include/uapi/ -I../../../../include/ -I../../../../usr/include/    fuse_mnt.c  -o /home/sjpark/linux/tools/testing/selftests/memfd/fuse_mnt
/tmp/cc6NHdwJ.o: In function `main':
fuse_mnt.c:(.text+0x249): undefined reference to `fuse_main_real'
collect2: error: ld returned 1 exit status
```

The build fails because output file is specified without $(OUTPUT) and
LDFLAGS is used though Makefile implicit rule is used.  This commit
fixes the error by specifying output file path with $(OUTPUT) and using
LDLIBS instead of LDFLAGS.

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2017-06-23 13:35:00 -06:00
..
.gitignore selftests: add memfd/sealing page-pinning tests 2014-08-08 15:57:31 -07:00
fuse_mnt.c selftests: add memfd/sealing page-pinning tests 2014-08-08 15:57:31 -07:00
fuse_test.c selftests: add memfd/sealing page-pinning tests 2014-08-08 15:57:31 -07:00
Makefile selftest/memfd/Makefile: Fix build error 2017-06-23 13:35:00 -06:00
memfd_test.c selftests: Add missing #include directives 2015-11-03 16:53:53 -07:00
run_fuse_test.sh selftests: Make scripts executable 2015-11-03 16:54:57 -07:00