diff options
Diffstat (limited to 'tools/lib/traceevent/Makefile')
-rw-r--r-- | tools/lib/traceevent/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile index 04d959fa0226..a20e32033431 100644 --- a/tools/lib/traceevent/Makefile +++ b/tools/lib/traceevent/Makefile | |||
@@ -253,7 +253,7 @@ all_deps := $(all_objs:%.o=.%.d) | |||
253 | # let .d file also depends on the source and header files | 253 | # let .d file also depends on the source and header files |
254 | define check_deps | 254 | define check_deps |
255 | @set -e; $(RM) $@; \ | 255 | @set -e; $(RM) $@; \ |
256 | $(CC) -M $(CFLAGS) $< > $@.$$$$; \ | 256 | $(CC) -MM $(CFLAGS) $< > $@.$$$$; \ |
257 | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ | 257 | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ |
258 | $(RM) $@.$$$$ | 258 | $(RM) $@.$$$$ |
259 | endef | 259 | endef |