aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/riscv/mm/Makefile
blob: 4664ed79e20b5ba03698755e68bf5fc91873cd25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021 ARM Limited
# Originally tools/testing/arm64/abi/Makefile

# Additional include paths needed by kselftest.h and local headers
CFLAGS += -std=gnu99 -I.

TEST_GEN_FILES := mmap_default mmap_bottomup

TEST_PROGS := run_mmap.sh

include ../../lib.mk

$(OUTPUT)/mm: mmap_default.c mmap_bottomup.c mmap_tests.h
	$(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^