Thread (5 messages) flat view 5 messages, 4 authors, 2015-06-04

Re: of: clean-up unnecessary libfdt include paths

From: Rob Herring <robh@kernel.org>
Date: 2015-06-04 17:03:21
Also in: linux-devicetree, linux-mips, lkml

On Thu, Jun 4, 2015 at 5:20 AM, Michael Ellerman [off-list ref] wrote:
On Wed, 2015-03-06 at 05:10:25 UTC, Rob Herring wrote:
quoted
With the latest dtc import include fixups, it is no longer necessary to
add explicit include paths to use libfdt. Remove these across the
kernel.
What are the "latest dtc import include fixups" ?
Changing the scripts/dtc/libfdt/libfdt.h includes from <> to "". The
import script does this now and the recent import in my for-next tree
has this. I'll clarify this in the commit message.
quoted
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index c1ebbda..c16e836 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -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
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Thanks.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help