of: clean-up unnecessary libfdt include paths
authorRob Herring <robh@kernel.org>
Mon, 1 Jun 2015 13:42:48 +0000 (08:42 -0500)
committerRob Herring <robh@kernel.org>
Fri, 5 Jun 2015 01:16:47 +0000 (20:16 -0500)
With the libfdt include fixups to use "" instead of <> in the
latest dtc import in commit 4760597 (scripts/dtc: Update to upstream
version 9d3649bd3be245c9), it is no longer necessary to add explicit
include paths to use libfdt. Remove these across the kernel.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Grant Likely <grant.likely@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: linuxppc-dev@lists.ozlabs.org
arch/mips/cavium-octeon/Makefile
arch/mips/mti-sead3/Makefile
arch/powerpc/kernel/Makefile
drivers/firmware/efi/libstub/Makefile
drivers/of/Makefile

index 69a8a8dabc2b215f6c8050498f50613ef1f90552..2a59265788413e3387cb358e35a9c720d1ba4a3b 100644 (file)
@@ -9,9 +9,6 @@
 # Copyright (C) 2005-2009 Cavium Networks
 #
 
-CFLAGS_octeon-platform.o = -I$(src)/../../../scripts/dtc/libfdt
-CFLAGS_setup.o = -I$(src)/../../../scripts/dtc/libfdt
-
 obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o
 obj-y += dma-octeon.o
 obj-y += octeon-memcpy.o
index ecd71db6258b350fb74eb6397c432f8e48e879fa..2e52cbd20cebac71a1dc50482d48983df00f15e8 100644 (file)
@@ -15,5 +15,3 @@ obj-y                         := sead3-lcd.o sead3-display.o sead3-init.o \
 obj-y                          += leds-sead3.o
 
 obj-$(CONFIG_EARLY_PRINTK)     += sead3-console.o
-
-CFLAGS_sead3-setup.o = -I$(src)/../../../scripts/dtc/libfdt
index c1ebbdaac28fb85e37cb1fdf34c96e2e1175a977..c16e8362432b6e369ebdceadbfe5beb6c851b45a 100644 (file)
@@ -2,7 +2,6 @@
 # Makefile for the linux kernel.
 #
 
-CFLAGS_prom.o          = -I$(src)/../../../scripts/dtc/libfdt
 CFLAGS_ptrace.o                += -DUTS_MACHINE='"$(UTS_MACHINE)"'
 
 subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
index 280bc0a6336519392fabfd4cb4ffd0f7173d416f..816dbe9f4b82e68314f5c5408b52649e4b9b4383 100644 (file)
@@ -24,8 +24,6 @@ KASAN_SANITIZE                        := n
 lib-y                          := efi-stub-helper.o
 lib-$(CONFIG_EFI_ARMSTUB)      += arm-stub.o fdt.o
 
-CFLAGS_fdt.o                   += -I$(srctree)/scripts/dtc/libfdt/
-
 #
 # arm64 puts the stub in the kernel proper, which will unnecessarily retain all
 # code indefinitely unless it is annotated as __init/__initdata/__initconst etc.
index fcacb186a67beee65742542f86fc45feff8e4352..156c072b31177eab081de4e54ab28b7815e32c95 100644 (file)
@@ -16,6 +16,3 @@ obj-$(CONFIG_OF_RESOLVE)  += resolver.o
 obj-$(CONFIG_OF_OVERLAY) += overlay.o
 
 obj-$(CONFIG_OF_UNITTEST) += unittest-data/
-
-CFLAGS_fdt.o = -I$(src)/../../scripts/dtc/libfdt
-CFLAGS_fdt_address.o = -I$(src)/../../scripts/dtc/libfdt