Skip to content
Commit d3fd949a authored by Shuah Khan's avatar Shuah Khan
Browse files

selftests: Fix memfd to support relocatable build (O=objdir)



Fix memfd to support relocatable build (O=objdir). This calls out
source files necessary to build tests and simplfies the dependency
enforcement.

Tested the following:

Note that cross-build for fuse_mnt has dependency on -lfuse.

make all
make clean
make kselftest-install O=/arm64_build/ ARCH=arm64 HOSTCC=gcc \
CROSS_COMPILE=aarch64-linux-gnu- TARGETS=memfd

Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 860f0a77
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment