Kbuild: add cpp_its_S in ksym_dep_filter
PATCH RESEND 1/1 Kbuild: add cpp_its_S in ksym_dep_filter
Add a new command cpp_its_S introduced in:cf2a5e0bb4c6 ("MIPS: Support generating Flattened Image Trees (.itb)") to ksym_dep_filter handler - otherwise a warning is produced during the build of MIPS platforms (when vmlinux.*.itb target is chosen)
Signed-off-by Marcin Nowakowski <[email protected]>
--- scripts/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/Kbuild.include +1 -1
@@ -284,7 +284,7 @@ ksym_dep_filter = \ $(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*) : ;; \ + boot*|build*|cpp_its_S|*cpp_lds_S|dtc|host*|vdso*) : ;; \ *) echo "Don't know how to preprocess $(1)" >&2; false ;; \ esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'
Signature · 1 line
2.7.4
Quoted 6 lines · Marcin Nowakowski
Add a new command
cpp_its_Sintroduced in:cf2a5e0bb4c6("MIPS: Support generating Flattened Image Trees (.itb)") toksym_dep_filterhandler - otherwise a warning is produced during the build of MIPS platforms (when vmlinux.*.itb target is chosen)Signed-off-by Marcin Nowakowski <[email protected]>
Applied (to MIPS tree)
Thanks
James
Quoted 21 lines
--- scripts/Kbuild.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/Kbuild.include +1
-1@@ -284,7 +284,7 @@ ksym_dep_filter = \ $(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*) : ;; \ + boot*|build*|cpp_its_S|*cpp_lds_S|dtc|host*|vdso*) : ;; \ *) echo "Don't know how to preprocess $(1)" >&2; false ;; \ esac | tr ";" "\n" | sed -rn 's/^.*=== __KSYM_(.*) ===.*$$/KSYM_\1/p'Signature · 1 line
2.7.4