• Shuah Khan's avatar
    selftests: Fix memfd to support relocatable build (O=objdir) · d3fd949a
    Shuah Khan authored
    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>
    d3fd949a
Makefile 538 Bytes