aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include10
1 files changed, 6 insertions, 4 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index a09927e02713..36e9475395aa 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -275,10 +275,12 @@ else
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 = \