Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 366f4856 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Michal Marek
Browse files

kbuild: adjust ksym_dep_filter for some cmd_* renames



The following renames occurred recently:

  cmd_cc_i_c --> cmd_cpp_i_c
  cmd_as_s_S --> cmd_cpp_s_S

The respective cc_*_c and as_*_S patterns no longer match the above
therefore additional patterns are needed.

Signed-off-by: default avatarNicolas Pitre <nico@linaro.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent edf69470
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -275,8 +275,10 @@ else
flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1)))
ksym_dep_filter =                                                            \
	case "$(1)" in                                                       \
	cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;;    \
	as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;;    \
	  cc_*_c|cpp_i_c)                                                    \
	    $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;;        \
	  as_*_S|cpp_s_S)                                                    \
	    $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;;        \
	  boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;;                      \
	  *) echo "Don't know how to preprocess $(1)" >&2; false ;;          \
	esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'