[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools: drop further uses of -Wp, -MD, .$(@F).d to generate dependencies.



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300895806 0
# Node ID 219b4d41c87876e589f3083f5094dc2187e4b0a4
# Parent  46a66a5301a1838f9f7acacb801067c76193a9bc
tools: drop further uses of -Wp,-MD,.$(@F).d to generate dependencies.

19025:bd78714b8594 switched to "-MMD -MF" in preference, adding the
correct runes to tools/Rules.mk but appears to have missed some other
uses of -Wp,...

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---


diff -r 46a66a5301a1 -r 219b4d41c878 tools/blktap/lib/Makefile
--- a/tools/blktap/lib/Makefile Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/blktap/lib/Makefile Wed Mar 23 15:56:46 2011 +0000
@@ -19,10 +19,6 @@
 # get asprintf():
 CFLAGS   += -D _GNU_SOURCE
 
-# Get gcc to generate the dependencies for us.
-CFLAGS   += -Wp,-MD,.$(@F).d
-DEPS     = .*.d
-
 OBJS     = $(SRCS:.c=.o)
 OBJS_PIC = $(SRCS:.c=.opic)
 IBINS   :=
diff -r 46a66a5301a1 -r 219b4d41c878 tools/blktap2/control/Makefile
--- a/tools/blktap2/control/Makefile    Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/blktap2/control/Makefile    Wed Mar 23 15:56:46 2011 +0000
@@ -16,10 +16,6 @@
 CFLAGS            += -D_GNU_SOURCE
 CFLAGS            += -DTAPCTL
 
-# Get gcc to generate the dependencies for us.
-CFLAGS            += -Wp,-MD,.$(@F).d
-DEPS               = .*.d
-
 CTL_OBJS  := tap-ctl-ipc.o
 CTL_OBJS  += tap-ctl-list.o
 CTL_OBJS  += tap-ctl-allocate.o
diff -r 46a66a5301a1 -r 219b4d41c878 tools/blktap2/lvm/Makefile
--- a/tools/blktap2/lvm/Makefile        Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/blktap2/lvm/Makefile        Wed Mar 23 15:56:46 2011 +0000
@@ -15,10 +15,6 @@
 CFLAGS            += -fPIC
 endif
 
-# Get gcc to generate the dependencies for us.
-CFLAGS            += -Wp,-MD,.$(@F).d
-DEPS               = .*.d
-
 LVM-OBJS          := lvm-util.o
 
 all: build
diff -r 46a66a5301a1 -r 219b4d41c878 tools/blktap2/vhd/Makefile
--- a/tools/blktap2/vhd/Makefile        Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/blktap2/vhd/Makefile        Wed Mar 23 15:56:46 2011 +0000
@@ -23,10 +23,6 @@
 
 LIBS              := -Llib -lvhd
 
-# Get gcc to generate the dependencies for us.
-CFLAGS            += -Wp,-MD,.$(@F).d
-DEPS               = .*.d
-
 all: subdirs-all build
 
 build: $(IBIN)
diff -r 46a66a5301a1 -r 219b4d41c878 tools/blktap2/vhd/lib/Makefile
--- a/tools/blktap2/vhd/lib/Makefile    Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/blktap2/vhd/lib/Makefile    Wed Mar 23 15:56:46 2011 +0000
@@ -23,10 +23,6 @@
 LIBS            := -luuid
 endif
 
-# Get gcc to generate the dependencies for us.
-CFLAGS          += -Wp,-MD,.$(@F).d
-DEPS             = .*.d
-
 LIB-SRCS        := libvhd.c
 LIB-SRCS        += libvhd-journal.c
 LIB-SRCS        += vhd-util-coalesce.c
diff -r 46a66a5301a1 -r 219b4d41c878 tools/flask/libflask/Makefile
--- a/tools/flask/libflask/Makefile     Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/flask/libflask/Makefile     Wed Mar 23 15:56:46 2011 +0000
@@ -11,9 +11,6 @@
 CFLAGS   += -fno-strict-aliasing
 CFLAGS   += -I./include $(CFLAGS_libxenctrl) $(CFLAGS_xeninclude)
 
-# Get gcc to generate the dependencies for us.
-CFLAGS   += -Wp,-MD,.$(@F).d
-
 LIB_OBJS := $(patsubst %.c,%.o,$(SRCS))
 PIC_OBJS := $(patsubst %.c,%.opic,$(SRCS))
 
diff -r 46a66a5301a1 -r 219b4d41c878 tools/memshr/Makefile
--- a/tools/memshr/Makefile     Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/memshr/Makefile     Wed Mar 23 15:56:46 2011 +0000
@@ -11,10 +11,6 @@
 CFLAGS          += -fPIC
 CFLAGS          += -g
 
-# Get gcc to generate the dependencies for us.
-CFLAGS          += -Wp,-MD,.$(@F).d
-DEPS             = .*.d
-
 LIB-SRCS        := interface.c
 LIB-SRCS        += shm.c
 LIB-SRCS        += bidir-daemon.c
diff -r 46a66a5301a1 -r 219b4d41c878 tools/xenpaging/Makefile
--- a/tools/xenpaging/Makefile  Wed Mar 23 15:55:13 2011 +0000
+++ b/tools/xenpaging/Makefile  Wed Mar 23 15:56:46 2011 +0000
@@ -13,9 +13,6 @@
 CFLAGS   += -Wno-unused
 CFLAGS   += -g
 
-CFLAGS   += -Wp,-MD,.$(@F).d
-DEPS     = .*.d
-
 OBJS     = $(SRCS:.c=.o)
 IBINS    = xenpaging
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.