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>
$(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)