GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) ifeq ($(PLUGINCC),$(HOSTCC)) HOSTLIBS := hostlibs HOST_EXTRACFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu99 -ggdb export HOST_EXTRACFLAGS else HOSTLIBS := hostcxxlibs HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++98 -fno-rtti HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable export HOST_EXTRACXXFLAGS endif ifneq ($(CFLAGS_KCOV), $(SANCOV_PLUGIN)) GCC_PLUGIN := $(filter-out $(SANCOV_PLUGIN), $(GCC_PLUGIN)) endif export HOSTLIBS $(HOSTLIBS)-y := $(foreach p,$(GCC_PLUGIN),$(if $(findstring /,$(p)),,$(p))) always := $($(HOSTLIBS)-y) $(foreach p,$($(HOSTLIBS)-y:%.so=%),$(eval $(p)-objs := $(p).o)) subdir-y := $(GCC_PLUGIN_SUBDIR) subdir- += $(GCC_PLUGIN_SUBDIR) clean-files += *.so name='id' value='c344efd7f363a168fba623ec00667a31945831ed'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/tools/lib/bpf/bpf.h
AgeCommit message (Expand)AuthorFilesLines
2017-02-10bpf: Use bpf_map_get_next_key() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_delete_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_lookup_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_map_update_elem() from the libraryMickaël Salaün1-1/+1
2017-02-10bpf: Use bpf_load_program() from the libraryMickaël Salaün1-2/+2