Skip to content

Commit 366f485

Browse files
Nicolas PitreMichal Marek
authored andcommitted
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: Nicolas Pitre <nico@linaro.org> Signed-off-by: Michal Marek <mmarek@suse.com>
1 parent edf6947 commit 366f485

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎scripts/Kbuild.include‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,12 @@ else
275275
flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1)))
276276
ksym_dep_filter = \
277277
case "$(1)" in \
278-
cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \
279-
as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \
280-
boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \
281-
*) echo "Don't know how to preprocess $(1)" >&2; false ;; \
278+
cc_*_c|cpp_i_c) \
279+
$(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \
280+
as_*_S|cpp_s_S) \
281+
$(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \
282+
boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \
283+
*) echo "Don't know how to preprocess $(1)" >&2; false ;; \
282284
esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'
283285

284286
cmd_and_fixdep = \

0 commit comments

Comments
 (0)