![]() |
|
|||
0001 # SPDX-License-Identifier: GPL-2.0 0002 # Copyright (C) 2019 ARM Limited 0003 0004 # Additional include paths needed by kselftest.h and local headers 0005 CFLAGS += -D_GNU_SOURCE -std=gnu99 -I. 0006 0007 SRCS := $(filter-out testcases/testcases.c,$(wildcard testcases/*.c)) 0008 PROGS := $(patsubst %.c,%,$(SRCS)) 0009 0010 # Generated binaries to be installed by top KSFT script 0011 TEST_GEN_PROGS := $(notdir $(PROGS)) 0012 0013 # Get Kernel headers installed and use them. 0014 0015 # Including KSFT lib.mk here will also mangle the TEST_GEN_PROGS list 0016 # to account for any OUTPUT target-dirs optionally provided by 0017 # the toplevel makefile 0018 include ../../lib.mk 0019 0020 $(TEST_GEN_PROGS): $(PROGS) 0021 cp $(PROGS) $(OUTPUT)/ 0022 0023 # Common test-unit targets to build common-layout test-cases executables 0024 # Needs secondary expansion to properly include the testcase c-file in pre-reqs 0025 .SECONDEXPANSION: 0026 $(PROGS): test_signals.c test_signals_utils.c testcases/testcases.c signals.S $$@.c test_signals.h test_signals_utils.h testcases/testcases.h 0027 $(CC) $(CFLAGS) $^ -o $@
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |