xen-devel
[Xen-devel] [PATCH 07 of 30] tools: remove unnecessary uses of -I
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300718506 0
# Node ID 5da1f6fc58ac6b4e3654dbfbc49249fa0a1719a5
# Parent 01bdfd7a7db03dcd0e77dbd241b9398ffd8eec62
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>
diff -r 01bdfd7a7db0 -r 5da1f6fc58ac tools/debugger/gdbsx/xg/Makefile
--- a/tools/debugger/gdbsx/xg/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/debugger/gdbsx/xg/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -4,7 +4,7 @@ XG_HDRS := xg_public.h
XG_HDRS := xg_public.h
XG_OBJS := xg_main.o
-CFLAGS += -I. -I../../../include
+CFLAGS += -I../../../include
.PHONY: all
diff -r 01bdfd7a7db0 -r 5da1f6fc58ac tools/firmware/hvmloader/Makefile
--- a/tools/firmware/hvmloader/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/firmware/hvmloader/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -26,7 +26,7 @@ SUBDIRS := acpi
# 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 01bdfd7a7db0 -r 5da1f6fc58ac tools/firmware/hvmloader/acpi/Makefile
--- a/tools/firmware/hvmloader/acpi/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/firmware/hvmloader/acpi/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -21,7 +21,7 @@ C_SRC = build.c dsdt_anycpu.c dsdt_15cpu
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 01bdfd7a7db0 -r 5da1f6fc58ac tools/flask/utils/Makefile
--- a/tools/flask/utils/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/flask/utils/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -11,7 +11,6 @@ BASECFLAGS+= $(PROFILE)
#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 01bdfd7a7db0 -r 5da1f6fc58ac tools/ocaml/libs/xc/Makefile
--- a/tools/ocaml/libs/xc/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/ocaml/libs/xc/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -2,7 +2,7 @@ XEN_ROOT=$(TOPLEVEL)/../..
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 01bdfd7a7db0 -r 5da1f6fc58ac tools/security/Makefile
--- a/tools/security/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/security/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -3,7 +3,7 @@ include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -Werror
CFLAGS += -fno-strict-aliasing
-CFLAGS += -I. $(CFLAGS_libxenctrl)
+CFLAGS += $(CFLAGS_libxenctrl)
CPPFLAGS += -MMD -MF .$*.d
PROG_DEPS = .*.d
diff -r 01bdfd7a7db0 -r 5da1f6fc58ac tools/vtpm/Rules.mk
--- a/tools/vtpm/Rules.mk Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/vtpm/Rules.mk Mon Mar 21 14:41:46 2011 +0000
@@ -6,7 +6,7 @@ include $(XEN_ROOT)/tools/Rules.mk
#
# General compiler flags
-CFLAGS = -Werror -g3 -I.
+CFLAGS = -Werror -g3
# Generic project files
HDRS = $(wildcard *.h)
diff -r 01bdfd7a7db0 -r 5da1f6fc58ac tools/vtpm_manager/Rules.mk
--- a/tools/vtpm_manager/Rules.mk Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/vtpm_manager/Rules.mk Mon Mar 21 14:41:46 2011 +0000
@@ -6,7 +6,7 @@ include $(XEN_ROOT)/tools/Rules.mk
#
# General compiler flags
-CFLAGS = -Werror -g3 -I.
+CFLAGS = -Werror -g3
# Generic project files
HDRS = $(wildcard *.h)
diff -r 01bdfd7a7db0 -r 5da1f6fc58ac 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
@@ -2,7 +2,6 @@ include $(XEN_ROOT)/tools/Rules.mk
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += -I $(XEN_XC)
-CFLAGS += -I ./
CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore)
LDLIBS += $(LDLIBS_libxenctrl) $(LDLIBS_libxenstore)
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 06 of 30] tools: remove unnecessary uses of -L, (continued)
- [Xen-devel] [PATCH 06 of 30] tools: remove unnecessary uses of -L, Ian Campbell
- [Xen-devel] [PATCH 04 of 30] tools: Drop use of $(INCLUDES), Ian Campbell
- [Xen-devel] [PATCH 08 of 30] tools: Drop XEN_XC variable, Ian Campbell
- [Xen-devel] [PATCH 13 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenlight) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 11 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenctrl) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 10 of 30] tools: consistently use $(CFLAGS_xeninclude) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- [Xen-devel] [PATCH 14 of 30] tools: xenstat: install and use shared library, Ian Campbell
- [Xen-devel] [PATCH 12 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenstore) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 15 of 30] tools: Drop $(X11_LDPATH) from build, Ian Campbell
- [Xen-devel] [PATCH 07 of 30] tools: remove unnecessary uses of -I,
Ian Campbell <=
- [Xen-devel] [PATCH 17 of 30] tools: ocaml: link xl bindings against libxl, Ian Campbell
- [Xen-devel] [PATCH 18 of 30] tools: ocaml: link evtchn bindings against libxenctrl, Ian Campbell
- [Xen-devel] [PATCH 16 of 30] tools: allow Makefiles to define CFLAGS_foo.o, Ian Campbell
- [Xen-devel] [PATCH 19 of 30] tools: users of libxl currently need to see libxc and libxenstore headers, Ian Campbell
- [Xen-devel] [PATCH 20 of 30] tools: ocaml: push CFLAGS usage down into the specific bindings, Ian Campbell
- [Xen-devel] [PATCH 21 of 30] tools: flask: Remove BASECFLAGS, just use CFLAGS, Ian Campbell
- [Xen-devel] [PATCH 22 of 30] tools: flask: remove $(LOADLIBES), Ian Campbell
- [Xen-devel] [PATCH 23 of 30] tools: provide generic rules for compiling .S files, Ian Campbell
- [Xen-devel] [PATCH 25 of 30] libxl: move libxl_doimid_valid_guest out of line, Ian Campbell
- [Xen-devel] [PATCH 26 of 30] libxl: drop protype for libxl_ctx_set_log, Ian Campbell
|
|
|