oleavr-rgl-a500-mini-linux-.../tools/testing/selftests/vm/Makefile

15 lines
279 B
Makefile
Raw Normal View History

2022-05-07 01:01:45 +02:00
# Makefile for vm selftests
CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen
%: %.c
$(CC) $(CFLAGS) -o $@ $^
run_tests: all
@/bin/sh ./run_vmtests || echo "vmtests: [FAIL]"
clean:
$(RM) hugepage-mmap hugepage-shm map_hugetlb