From: Kris Van Hees Date: Wed, 18 Jun 2014 12:35:58 +0000 (-0400) Subject: dtrace: support order-only-prerequisites for sdtstub generation X-Git-Tag: v4.1.12-92~313^2~36 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b766fdd1c4298f3f68069478a9614d5065fa7ae5;p=users%2Fjedix%2Flinux-maple.git dtrace: support order-only-prerequisites for sdtstub generation This commit ensures that order-only-prerequisites are supported in the module build process when it comes to the generation of the sdtstub file for SDT probes in modules. This is necessary even when there are no probes in the actual module source code. Orabug: 18906444 Signed-off-by: Kris Van Hees Acked-by: Chuck Anderson Signed-off-by: Guangyu Sun --- diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 97a800635763..63645acf5d7a 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -392,7 +392,7 @@ quiet_cmd_sdtstub = SDTSTB $@ $(filter $(addprefix $(obj)/, \ $($(subst $(obj)/,,$(@:.sdtstub.S=-objs))) \ $($(subst $(obj)/,,$(@:.sdtstub.S=-y)))), \ - $(multi-objs-m)) + $(subst |,,$(multi-objs-m))) $(multi-used-m:.o=.sdtstub.S) : %.sdtstub.S: $(multi-objs-m) $(call if_changed,sdtstub)