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-changelog

[Xen-changelog] [xen-unstable] tools: remove unnecessary uses of -I.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] tools: remove unnecessary uses of -I.
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Tue, 22 Mar 2011 17:00:11 +0000
Delivery-date: Tue, 22 Mar 2011 10:02:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300730332 0
# Node ID 32674b8ced8c17b63aab36aba5a97850f28d80fd
# Parent  c3309b5e6f545e5c1a6df4c820b7910f9ec29187
tools: remove unnecessary uses of -I.

It's not needed unless you are including headers in the current
directory _and_ you can't use "" instead of <> because the headers are
to be installed.

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


diff -r c3309b5e6f54 -r 32674b8ced8c tools/debugger/gdbsx/xg/Makefile
--- a/tools/debugger/gdbsx/xg/Makefile  Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/debugger/gdbsx/xg/Makefile  Mon Mar 21 17:58:52 2011 +0000
@@ -4,7 +4,7 @@
 XG_HDRS := xg_public.h 
 XG_OBJS := xg_main.o 
 
-CFLAGS += -I. -I../../../include 
+CFLAGS += -I../../../include 
 
 
 .PHONY: all
diff -r c3309b5e6f54 -r 32674b8ced8c tools/firmware/hvmloader/Makefile
--- a/tools/firmware/hvmloader/Makefile Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/firmware/hvmloader/Makefile Mon Mar 21 17:58:52 2011 +0000
@@ -26,7 +26,7 @@
 # The HVM loader is started in 32-bit mode at the address below:
 LOADADDR = 0x100000
 
-CFLAGS += $(CFLAGS_include) -I.
+CFLAGS += $(CFLAGS_include)
 
 SRCS  = hvmloader.c mp_tables.c util.c smbios.c 
 SRCS += 32bitbios_support.c smp.c cacheattr.c xenbus.c
diff -r c3309b5e6f54 -r 32674b8ced8c tools/firmware/hvmloader/acpi/Makefile
--- a/tools/firmware/hvmloader/acpi/Makefile    Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/firmware/hvmloader/acpi/Makefile    Mon Mar 21 17:58:52 2011 +0000
@@ -21,7 +21,7 @@
 C_SRC = build.c dsdt_anycpu.c dsdt_15cpu.c static_tables.c
 OBJS  = $(patsubst %.c,%.o,$(C_SRC))
 
-CFLAGS += -I. -I.. $(CFLAGS_include)
+CFLAGS += $(CFLAGS_include)
 
 vpath iasl $(PATH)
 all: acpi.a
diff -r c3309b5e6f54 -r 32674b8ced8c tools/flask/utils/Makefile
--- a/tools/flask/utils/Makefile        Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/flask/utils/Makefile        Mon Mar 21 17:58:52 2011 +0000
@@ -11,7 +11,6 @@
 #BASECFLAGS+= -I$(XEN_ROOT)/tools
 BASECFLAGS+= $(CFLAGS_libxenctrl)
 BASECFLAGS+= -I$(LIBFLASK_ROOT)/include
-BASECFLAGS+= -I.
 
 CFLAGS  += $(BASECFLAGS)
 LDLIBS += $(PROFILE) -L$(XEN_LIBXC) -L$(LIBFLASK_ROOT)
diff -r c3309b5e6f54 -r 32674b8ced8c tools/ocaml/libs/xc/Makefile
--- a/tools/ocaml/libs/xc/Makefile      Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/ocaml/libs/xc/Makefile      Mon Mar 21 17:58:52 2011 +0000
@@ -2,7 +2,7 @@
 XEN_ROOT=$(TOPLEVEL)/../..
 include $(TOPLEVEL)/common.make
 
-CFLAGS += -I../mmap -I./ -I$(XEN_ROOT)/tools/libxc
+CFLAGS += -I../mmap -I$(XEN_ROOT)/tools/libxc
 OCAMLINCLUDE += -I ../mmap -I ../uuid -I $(XEN_ROOT)/tools/libxc
 
 OBJS = xc
diff -r c3309b5e6f54 -r 32674b8ced8c tools/security/Makefile
--- a/tools/security/Makefile   Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/security/Makefile   Mon Mar 21 17:58:52 2011 +0000
@@ -3,7 +3,7 @@
 
 CFLAGS   += -Werror
 CFLAGS   += -fno-strict-aliasing
-CFLAGS   += -I. $(CFLAGS_libxenctrl)
+CFLAGS   += $(CFLAGS_libxenctrl)
 
 CPPFLAGS += -MMD -MF .$*.d
 PROG_DEPS = .*.d
diff -r c3309b5e6f54 -r 32674b8ced8c tools/vtpm/Rules.mk
--- a/tools/vtpm/Rules.mk       Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/vtpm/Rules.mk       Mon Mar 21 17:58:52 2011 +0000
@@ -6,7 +6,7 @@
 #
 
 # General compiler flags
-CFLAGS   = -Werror -g3 -I.
+CFLAGS   = -Werror -g3
 
 # Generic project files
 HDRS   = $(wildcard *.h)
diff -r c3309b5e6f54 -r 32674b8ced8c tools/vtpm_manager/Rules.mk
--- a/tools/vtpm_manager/Rules.mk       Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/vtpm_manager/Rules.mk       Mon Mar 21 17:58:52 2011 +0000
@@ -6,7 +6,7 @@
 #
 
 # General compiler flags
-CFLAGS = -Werror -g3 -I.
+CFLAGS = -Werror -g3
 
 # Generic project files
 HDRS   = $(wildcard *.h)
diff -r c3309b5e6f54 -r 32674b8ced8c tools/xenpaging/Makefile
--- a/tools/xenpaging/Makefile  Mon Mar 21 17:58:23 2011 +0000
+++ b/tools/xenpaging/Makefile  Mon Mar 21 17:58:52 2011 +0000
@@ -2,7 +2,6 @@
 include $(XEN_ROOT)/tools/Rules.mk
 
 CFLAGS   += -I $(XEN_XC)
-CFLAGS   += -I ./
 CFLAGS   += $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore)
 LDLIBS  += $(LDLIBS_libxenctrl) $(LDLIBS_libxenstore)
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] tools: remove unnecessary uses of -I., Xen patchbot-unstable <=