1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # Copyright (C) 2021 ARM Limited 2 # Copyright (C) 2021 ARM Limited 3 # Originally tools/testing/arm64/abi/Makefile 3 # Originally tools/testing/arm64/abi/Makefile 4 4 5 # Additional include paths needed by kselftest 5 # Additional include paths needed by kselftest.h and local headers 6 CFLAGS += -std=gnu99 -I. !! 6 CFLAGS += -D_GNU_SOURCE -std=gnu99 -I. 7 7 8 TEST_GEN_FILES := mmap_default mmap_bottomup 8 TEST_GEN_FILES := mmap_default mmap_bottomup 9 9 10 TEST_PROGS := run_mmap.sh 10 TEST_PROGS := run_mmap.sh 11 11 12 include ../../lib.mk 12 include ../../lib.mk 13 13 14 $(OUTPUT)/mm: mmap_default.c mmap_bottomup.c m 14 $(OUTPUT)/mm: mmap_default.c mmap_bottomup.c mmap_tests.h 15 $(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^ 15 $(CC) -o$@ $(CFLAGS) $(LDFLAGS) $^
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.