projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools: Remove feature-libelf-mmap feature detection
[platform/kernel/linux-starfive.git]
/
tools
/
lib
/
bpf
/
Makefile
diff --git
a/tools/lib/bpf/Makefile
b/tools/lib/bpf/Makefile
index
bf8ed13
..
c5dbfaf
100644
(file)
--- a/
tools/lib/bpf/Makefile
+++ b/
tools/lib/bpf/Makefile
@@
-56,7
+56,7
@@
ifndef VERBOSE
endif
FEATURE_USER = .libbpf
endif
FEATURE_USER = .libbpf
-FEATURE_TESTS = libelf
libelf-mmap zlib bpf reallocarray
+FEATURE_TESTS = libelf
zlib bpf
FEATURE_DISPLAY = libelf zlib bpf
INCLUDES = -I. -I$(srctree)/tools/include -I$(srctree)/tools/arch/$(ARCH)/include/uapi -I$(srctree)/tools/include/uapi
FEATURE_DISPLAY = libelf zlib bpf
INCLUDES = -I. -I$(srctree)/tools/include -I$(srctree)/tools/arch/$(ARCH)/include/uapi -I$(srctree)/tools/include/uapi
@@
-98,16
+98,8
@@
else
CFLAGS := -g -Wall
endif
CFLAGS := -g -Wall
endif
-ifeq ($(feature-libelf-mmap), 1)
- override CFLAGS += -DHAVE_LIBELF_MMAP_SUPPORT
-endif
-
-ifeq ($(feature-reallocarray), 0)
- override CFLAGS += -DCOMPAT_NEED_REALLOCARRAY
-endif
-
# Append required CFLAGS
# Append required CFLAGS
-override CFLAGS += $(EXTRA_WARNINGS)
+override CFLAGS += $(EXTRA_WARNINGS)
-Wno-switch-enum
override CFLAGS += -Werror -Wall
override CFLAGS += -fPIC
override CFLAGS += $(INCLUDES)
override CFLAGS += -Werror -Wall
override CFLAGS += -fPIC
override CFLAGS += $(INCLUDES)