diff options
author | Petr Vorel <petr.vorel@gmail.com> | 2019-03-21 22:08:31 +0100 |
---|---|---|
committer | Petr Vorel <petr.vorel@gmail.com> | 2019-03-21 23:35:03 +0100 |
commit | b24f3d32c54006af5499da5a7ac418eafcf6e459 (patch) | |
tree | 315428c29bf0264891c2648ada7386fefcf1953e /testcases/kernel | |
parent | ad87b4863cdcfad3dc05e2b023e849209473faa8 (diff) |
cpuset: Detect missing fts.h
This fixes build on uClibc with disabled fts.h support and MUSL, which
does not have fts.h at all.
Reported-by: Vineet Gupta <vgupta@synopsys.com>
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Diffstat (limited to 'testcases/kernel')
-rw-r--r-- | testcases/kernel/controllers/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testcases/kernel/controllers/Makefile b/testcases/kernel/controllers/Makefile index 404073947..548692cb8 100644 --- a/testcases/kernel/controllers/Makefile +++ b/testcases/kernel/controllers/Makefile @@ -29,6 +29,10 @@ LIBDIR := libcontrollers LIB := $(LIBDIR)/libcontrollers.a FILTER_OUT_DIRS := $(LIBDIR) +ifneq ($(HAVE_FTS_H),1) + FILTER_OUT_DIRS += cpuset +endif + $(LIBDIR): mkdir -p "$@" |