mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-08 16:04:49 +00:00
kselftests fails to build because the mm/testcases subdirectory is not created and then the compiler fails to output the binary there. So fix this by simply removing this subdirectory which is not very useful. Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com> Reviewed-by: Charlie Jenkins <charlie@rivosinc.com> Link: https://lore.kernel.org/r/20230915100113.13131-1-alexghiti@rivosinc.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
16 lines
411 B
Makefile
16 lines
411 B
Makefile
# 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 += -D_GNU_SOURCE -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) $^
|