]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: support order-only-prerequisites for sdtstub generation
authorKris Van Hees <kris.van.hees@oracle.com>
Wed, 18 Jun 2014 12:35:58 +0000 (08:35 -0400)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 21 Jul 2015 14:29:40 +0000 (15:29 +0100)
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 <kris.van.hees@oracle.com>
Acked-by: Chuck Anderson <chuck.anderson@oracle.com>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
scripts/Makefile.build

index 97a8006357638a8408bbb6e0feb2f1a50bc11b5a..63645acf5d7ab93e8ece77a5c54d565423f082f9 100644 (file)
@@ -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)