This reverts commit b5213e1e9f
which was
commit 46aa6a302b53f543f8e8b8e1714dc5e449ad36a6 upstream.
This is being reverted because the affected commit this was trying to
fix, a8ba798bc8ec ("selftests: enable O and KBUILD_OUTPUT"), was never
backported to the 4.4-stable tree.
Reported-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Rapoport <rppt@linux.vnet.ibm.com>
Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Hillf Danton <hillf.zj@alibaba-inc.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 lines
655 B
Makefile
29 lines
655 B
Makefile
# Makefile for vm selftests
|
|
|
|
CFLAGS = -Wall -I ../../../../usr/include $(EXTRA_CFLAGS)
|
|
BINARIES = compaction_test
|
|
BINARIES += hugepage-mmap
|
|
BINARIES += hugepage-shm
|
|
BINARIES += map_hugetlb
|
|
BINARIES += mlock2-tests
|
|
BINARIES += on-fault-limit
|
|
BINARIES += thuge-gen
|
|
BINARIES += transhuge-stress
|
|
BINARIES += userfaultfd
|
|
|
|
all: $(BINARIES)
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^ -lrt
|
|
userfaultfd: userfaultfd.c ../../../../usr/include/linux/kernel.h
|
|
$(CC) $(CFLAGS) -O2 -o $@ $< -lpthread
|
|
|
|
../../../../usr/include/linux/kernel.h:
|
|
make -C ../../../.. headers_install
|
|
|
|
TEST_PROGS := run_vmtests
|
|
TEST_FILES := $(BINARIES)
|
|
|
|
include ../lib.mk
|
|
|
|
clean:
|
|
$(RM) $(BINARIES)
|