[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |