Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   1) # SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   3) #MAKEFLAGS += --no-print-directory
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   6) # Makefiles suck: This macro sets a default value of $(2) for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   7) # variable named by $(1), unless the variable has been set by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   8) # environment or command line. This is necessary for CC and AR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   9) # because make sets default values, so the simpler ?= approach
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  10) # won't work as expected.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  11) define allow-override
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  12)   $(if $(or $(findstring environment,$(origin $(1))),\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  13)             $(findstring command line,$(origin $(1)))),,\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  14)     $(eval $(1) = $(2)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  15) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  17) # Allow setting CC and AR, or setting CROSS_COMPILE as a prefix.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  18) $(call allow-override,CC,$(CROSS_COMPILE)gcc)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  19) $(call allow-override,AR,$(CROSS_COMPILE)ar)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  20) $(call allow-override,NM,$(CROSS_COMPILE)nm)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  21) $(call allow-override,PKG_CONFIG,pkg-config)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  23) EXT = -std=gnu99
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  24) INSTALL = install
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  26) # Use DESTDIR for installing into a different root directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  27) # This is useful for building a package. The program will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  28) # installed in this directory as if it was the root directory.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  29) # Then the build tool can move it later.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  30) DESTDIR ?=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  31) DESTDIR_SQ = '$(subst ','\'',$(DESTDIR))'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  33) LP64 := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  34) ifeq ($(LP64), 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  35)   libdir_relative_tmp = lib64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  36) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  37)   libdir_relative_tmp = lib
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  38) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  40) libdir_relative ?= $(libdir_relative_tmp)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  41) prefix ?= /usr/local
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  42) libdir = $(prefix)/$(libdir_relative)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  43) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  44) set_plugin_dir := 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  46) # Set plugin_dir to preffered global plugin location
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  47) # If we install under $HOME directory we go under
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  48) # $(HOME)/.local/lib/traceevent/plugins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  49) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  50) # We dont set PLUGIN_DIR in case we install under $HOME
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  51) # directory, because by default the code looks under:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  52) # $(HOME)/.local/lib/traceevent/plugins by default.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  53) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  54) ifeq ($(plugin_dir),)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  55) ifeq ($(prefix),$(HOME))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  56) override plugin_dir = $(HOME)/.local/lib/traceevent/plugins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  57) set_plugin_dir := 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  58) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  59) override plugin_dir = $(libdir)/traceevent/plugins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  60) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  61) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  62) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  63) ifeq ($(set_plugin_dir),1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  64) PLUGIN_DIR = -DPLUGIN_DIR="$(plugin_dir)"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  65) PLUGIN_DIR_SQ = '$(subst ','\'',$(PLUGIN_DIR))'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  66) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  67) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  68) include ../../../scripts/Makefile.include
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  69) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  70) # copy a bit from Linux kbuild
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  71) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  72) ifeq ("$(origin V)", "command line")
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  73)   VERBOSE = $(V)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  74) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  75) ifndef VERBOSE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  76)   VERBOSE = 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  77) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  78) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  79) ifeq ($(srctree),)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  80) srctree := $(patsubst %/,%,$(dir $(CURDIR)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  81) srctree := $(patsubst %/,%,$(dir $(srctree)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  82) srctree := $(patsubst %/,%,$(dir $(srctree)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  83) srctree := $(patsubst %/,%,$(dir $(srctree)))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  84) #$(info Determined 'srctree' to be $(srctree))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  85) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  87) export prefix libdir src obj
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  89) # Shell quotes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  90) plugin_dir_SQ = $(subst ','\'',$(plugin_dir))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  92) CONFIG_INCLUDES =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  93) CONFIG_LIBS    =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  94) CONFIG_FLAGS   =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  95) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  96) OBJ            = $@
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  97) N              =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  99) INCLUDES = -I. -I.. -I $(srctree)/tools/include $(CONFIG_INCLUDES)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) # Set compile option CFLAGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) ifdef EXTRA_CFLAGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103)   CFLAGS := $(EXTRA_CFLAGS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105)   CFLAGS := -g -Wall
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) # Append required CFLAGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) override CFLAGS += -fPIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) override CFLAGS += $(udis86-flags) -D_GNU_SOURCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) ifeq ($(VERBOSE),1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114)   Q =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116)   Q = @
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117) endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 119) # Disable command line variables (CFLAGS) override from top
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 120) # level Makefile (perf), otherwise build Makefile will get
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 121) # the same command line setup.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 122) MAKEOVERRIDES=
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 124) export srctree OUTPUT CC LD CFLAGS V
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 126) build := -f $(srctree)/tools/build/Makefile.build dir=. obj
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 128) DYNAMIC_LIST_FILE := $(OUTPUT)libtraceevent-dynamic-list
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 130) PLUGINS  = plugin_jbd2.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 131) PLUGINS += plugin_hrtimer.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 132) PLUGINS += plugin_kmem.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 133) PLUGINS += plugin_kvm.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 134) PLUGINS += plugin_mac80211.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 135) PLUGINS += plugin_sched_switch.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 136) PLUGINS += plugin_function.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 137) PLUGINS += plugin_futex.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 138) PLUGINS += plugin_xen.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 139) PLUGINS += plugin_scsi.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 140) PLUGINS += plugin_cfg80211.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 141) PLUGINS += plugin_tlb.so
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 142) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 143) PLUGINS    := $(addprefix $(OUTPUT),$(PLUGINS))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 144) PLUGINS_IN := $(PLUGINS:.so=-in.o)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 145) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 146) plugins: $(PLUGINS) $(DYNAMIC_LIST_FILE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 148) __plugin_obj = $(notdir $@)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 149)   plugin_obj = $(__plugin_obj:-in.o=)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 151) $(PLUGINS_IN): force
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 152) 	$(Q)$(MAKE) $(build)=$(plugin_obj)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 153) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 154) $(OUTPUT)libtraceevent-dynamic-list: $(PLUGINS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 155) 	$(QUIET_GEN)$(call do_generate_dynamic_list_file, $(PLUGINS), $@)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 156) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 157) $(OUTPUT)%.so: $(OUTPUT)%-in.o
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 158) 	$(QUIET_LINK)$(CC) $(CFLAGS) -shared $(LDFLAGS) -nostartfiles -o $@ $^
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 159) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 160) define update_dir
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 161)   (echo $1 > $@.tmp;                           \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 162)    if [ -r $@ ] && cmp -s $@ $@.tmp; then      \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 163)      rm -f $@.tmp;                             \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 164)    else                                                \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 165)      echo '  UPDATE                 $@';       \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 166)      mv -f $@.tmp $@;                          \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 167)    fi);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 168) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 170) tags:	force
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 171) 	$(RM) tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 172) 	find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 173) 	--regex-c++='/_PE\(([^,)]*).*/TEP_ERRNO__\1/'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 174) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 175) TAGS:	force
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 176) 	$(RM) TAGS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 177) 	find . -name '*.[ch]' | xargs etags \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 178) 	--regex='/_PE(\([^,)]*\).*/TEP_ERRNO__\1/'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 179) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 180) define do_install_mkdir
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 181) 	if [ ! -d '$(DESTDIR_SQ)$1' ]; then             \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 182) 		$(INSTALL) -d -m 755 '$(DESTDIR_SQ)$1'; \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 183) 	fi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 184) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 185) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 186) define do_install
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 187) 	$(call do_install_mkdir,$2);                    \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 188) 	$(INSTALL) $(if $3,-m $3,) $1 '$(DESTDIR_SQ)$2'
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 189) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 190) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 191) define do_install_plugins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 192)        for plugin in $1; do                            \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 193)          $(call do_install,$$plugin,$(plugin_dir_SQ)); \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 194)        done
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 195) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 197) define do_generate_dynamic_list_file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 198) 	symbol_type=`$(NM) -u -D $1 | awk 'NF>1 {print $$1}' | \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 199) 	xargs echo "U w W" | tr 'w ' 'W\n' | sort -u | xargs echo`;\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 200) 	if [ "$$symbol_type" = "U W" ];then				\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 201) 		(echo '{';                                              \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 202) 		$(NM) -u -D $1 | awk 'NF>1 {sub("@.*", "", $$2); print "\t"$$2";"}' | sort -u;\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 203) 		echo '};';                                              \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 204) 		) > $2;                                                 \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 205) 	else                                                            \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 206) 		(echo Either missing one of [$1] or bad version of $(NM)) 1>&2;\
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 207) 		fi
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 208) endef
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 210) install: $(PLUGINS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 211) 	$(call QUIET_INSTALL, trace_plugins) \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 212) 	$(call do_install_plugins, $(PLUGINS))
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 214) clean:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 215) 	$(call QUIET_CLEAN, trace_plugins) \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 216) 		$(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d .*.cmd; \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 217) 		$(RM) $(OUTPUT)libtraceevent-dynamic-list \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 218) 		$(RM) TRACEEVENT-CFLAGS tags TAGS;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 220) PHONY += force plugins
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 221) force:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 223) # Declare the contents of the .PHONY variable as phony.  We keep that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 224) # information in a variable so we can use it in if_changed and friends.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 225) .PHONY: $(PHONY)