]> Pileus Git - ~andy/linux/blobdiff - tools/lib/traceevent/Makefile
Merge tag 'multiplatform' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[~andy/linux] / tools / lib / traceevent / Makefile
index 04d959fa022667af25b1f9f685c2204c7c778acd..a20e32033431a38bc752e2d3476ecafe49e3c78f 100644 (file)
@@ -253,7 +253,7 @@ all_deps := $(all_objs:%.o=.%.d)
 # let .d file also depends on the source and header files
 define check_deps
                @set -e; $(RM) $@; \
-               $(CC) -M $(CFLAGS) $< > $@.$$$$; \
+               $(CC) -MM $(CFLAGS) $< > $@.$$$$; \
                sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
                $(RM) $@.$$$$
 endef