WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 29 of 30] tools: drop further uses of -Wp, -MD, .$(@

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 29 of 30] tools: drop further uses of -Wp, -MD, .$(@F).d to generate dependencies
From: Ian Campbell <ian.campbell@xxxxxxxxxx>
Date: Mon, 21 Mar 2011 14:44:52 +0000
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Delivery-date: Mon, 21 Mar 2011 08:13:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1300718663@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300718506 0
# Node ID 7a4eb10b336b127e480750969ef03eea04f4b161
# Parent  dd0e1d4aae8f95979df38fe6ed9fadcfdda03b9d
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>

diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/blktap/lib/Makefile
--- a/tools/blktap/lib/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/blktap/lib/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -18,10 +18,6 @@ CFLAGS   += -fPIC
 CFLAGS   += -fPIC
 # 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)
diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/blktap2/control/Makefile
--- a/tools/blktap2/control/Makefile    Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/blktap2/control/Makefile    Mon Mar 21 14:41:46 2011 +0000
@@ -15,10 +15,6 @@ CFLAGS            += $(CFLAGS_libxenctrl
 CFLAGS            += $(CFLAGS_libxenctrl)
 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
diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/blktap2/lvm/Makefile
--- a/tools/blktap2/lvm/Makefile        Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/blktap2/lvm/Makefile        Mon Mar 21 14:41:46 2011 +0000
@@ -14,10 +14,6 @@ ifeq ($(CONFIG_X86_64),y)
 ifeq ($(CONFIG_X86_64),y)
 CFLAGS            += -fPIC
 endif
-
-# Get gcc to generate the dependencies for us.
-CFLAGS            += -Wp,-MD,.$(@F).d
-DEPS               = .*.d
 
 LVM-OBJS          := lvm-util.o
 
diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/blktap2/vhd/Makefile
--- a/tools/blktap2/vhd/Makefile        Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/blktap2/vhd/Makefile        Mon Mar 21 14:41:46 2011 +0000
@@ -23,10 +23,6 @@ endif
 
 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 dd0e1d4aae8f -r 7a4eb10b336b tools/blktap2/vhd/lib/Makefile
--- a/tools/blktap2/vhd/lib/Makefile    Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/blktap2/vhd/lib/Makefile    Mon Mar 21 14:41:46 2011 +0000
@@ -22,10 +22,6 @@ ifeq ($(CONFIG_Linux),y)
 ifeq ($(CONFIG_Linux),y)
 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
diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/flask/libflask/Makefile
--- a/tools/flask/libflask/Makefile     Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/flask/libflask/Makefile     Mon Mar 21 14:41:46 2011 +0000
@@ -10,9 +10,6 @@ CFLAGS   += -Werror
 CFLAGS   += -Werror
 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 dd0e1d4aae8f -r 7a4eb10b336b tools/memshr/Makefile
--- a/tools/memshr/Makefile     Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/memshr/Makefile     Mon Mar 21 14:41:46 2011 +0000
@@ -10,10 +10,6 @@ CFLAGS          += -D_GNU_SOURCE
 CFLAGS          += -D_GNU_SOURCE
 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
diff -r dd0e1d4aae8f -r 7a4eb10b336b tools/xenpaging/Makefile
--- a/tools/xenpaging/Makefile  Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/xenpaging/Makefile  Mon Mar 21 14:41:46 2011 +0000
@@ -12,9 +12,6 @@ CFLAGS   += -Werror
 CFLAGS   += -Werror
 CFLAGS   += -Wno-unused
 CFLAGS   += -g
-
-CFLAGS   += -Wp,-MD,.$(@F).d
-DEPS     = .*.d
 
 OBJS     = $(SRCS:.c=.o)
 IBINS    = xenpaging

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

<Prev in Thread] Current Thread [Next in Thread>