public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames
@ 2016-04-26 15:21 Nicolas Pitre
  2016-04-27  9:00 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Pitre @ 2016-04-26 15:21 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kbuild, linux-kernel


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>

diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index a09927e027..36e9475395 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -275,10 +275,12 @@ 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__ $< ;;    \
-	boot*|build*|*cpp_lds_S|dtc|host*|vdso*) : ;;                        \
-	*) echo "Don't know how to preprocess $(1)" >&2; false ;;            \
+	  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'
 
 cmd_and_fixdep =                                                             \

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames
  2016-04-26 15:21 [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames Nicolas Pitre
@ 2016-04-27  9:00 ` Michal Marek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2016-04-27  9:00 UTC (permalink / raw)
  To: Nicolas Pitre; +Cc: linux-kbuild, linux-kernel

On 2016-04-26 17:21, Nicolas Pitre wrote:
> 
> 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>

Thanks, applied to kbuild.git#kbuild.

Michal

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-27  9:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 15:21 [PATCH] kbuild: adjust ksym_dep_filter for some cmd_* renames Nicolas Pitre
2016-04-27  9:00 ` Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox