mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-23 11:04:44 +08:00
9f26990074
Provides a selftest and examples of using the interface. [peterz: updated to not use sched_debug] Signed-off-by: Chris Hyser <chris.hyser@oracle.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Don Hiatt <dhiatt@digitalocean.com> Tested-by: Hongyu Ning <hongyu.ning@linux.intel.com> Tested-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lkml.kernel.org/r/20210422123309.100860030@infradead.org
15 lines
331 B
Makefile
15 lines
331 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
ifneq ($(shell $(CC) --version 2>&1 | head -n 1 | grep clang),)
|
|
CLANG_FLAGS += -no-integrated-as
|
|
endif
|
|
|
|
CFLAGS += -O2 -Wall -g -I./ -I../../../../usr/include/ -Wl,-rpath=./ \
|
|
$(CLANG_FLAGS)
|
|
LDLIBS += -lpthread
|
|
|
|
TEST_GEN_FILES := cs_prctl_test
|
|
TEST_PROGS := cs_prctl_test
|
|
|
|
include ../lib.mk
|