[PATCH 01/18] Include autoconf.h from the bootwrapper.

Scott Wood scottwood at freescale.com
Thu Jan 25 08:06:54 EST 2007


This will be required by the u-boot compatibility code to obtain a
compatible bd_t layout, to determine how to calculate the timebase, and
to know what soc fields need to be modified.

Signed-off-by: Scott Wood <scottwood at freescale.com>
---
 arch/powerpc/boot/Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 98392fb..906b166 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -31,7 +31,8 @@ ifeq ($(call cc-option-yn, -fstack-prote
 BOOTCFLAGS	+= -fno-stack-protector
 endif
 
-BOOTCFLAGS	+= -I$(obj) -I$(srctree)/$(obj)
+BOOTCFLAGS	+= -I$(obj) -I$(srctree)/$(obj) \
+                   -include $(srctree)/include/linux/autoconf.h
 
 zlib       := inffast.c inflate.c inftrees.c
 zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h
-- 
1.4.4




More information about the Linuxppc-dev mailing list