History

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.

Nicolas Pitre committed 10 years ago

Commit 366f4851 parent edf69471 file · +6 −4Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Kbuild.include+6−4
@@ -275,10 +275,12 @@ else · 274 unmodified lines
275flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1)))275flags_nodeps = $(filter-out -Wp$(comma)-M%, $($(1)))
276ksym_dep_filter = \276ksym_dep_filter = \
277 case "$(1)" in \277 case "$(1)" in \
278 cc_*_c) $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \278 cc_*_c|cpp_i_c) \
279 as_*_S) $(CPP) $(call flags_nodeps,a_flags) -D__KSYM_DEPS__ $< ;; \279 $(CPP) $(call flags_nodeps,c_flags) -D__KSYM_DEPS__ $< ;; \
280 boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;; \280 as_*_S|cpp_s_S) \
281 *) echo "Don't know how to preprocess $(1)" >&2; false ;; \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 ;; \
282 esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'284 esac | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'
283 285
284cmd_and_fixdep = \286cmd_and_fixdep = \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t