uboot/u-boot-mkimage-openmoko-native_oe.bb : make build include dirs be
authorGraeme Gregory <dp@xora.org.uk>
Wed, 3 Oct 2007 15:58:25 +0000 (15:58 +0000)
committerGraeme Gregory <dp@xora.org.uk>
Wed, 3 Oct 2007 15:58:25 +0000 (15:58 +0000)
before system dirs to we dont pick up /usr/include and /usr/local/include
when we dont want to.

packages/uboot/u-boot-mkimage-openmoko-native/makefile-no-dirafter.patch [new file with mode: 0644]
packages/uboot/u-boot-mkimage-openmoko-native_oe.bb

diff --git a/packages/uboot/u-boot-mkimage-openmoko-native/makefile-no-dirafter.patch b/packages/uboot/u-boot-mkimage-openmoko-native/makefile-no-dirafter.patch
new file mode 100644 (file)
index 0000000..2ed26c3
--- /dev/null
@@ -0,0 +1,17 @@
+Index: git/tools/Makefile
+===================================================================
+--- git.orig/tools/Makefile    2007-10-03 16:51:38.000000000 +0100
++++ git/tools/Makefile 2007-10-03 16:52:03.000000000 +0100
+@@ -114,9 +114,9 @@
+ #
+ # Use native tools and options
+ #
+-CPPFLAGS   = -idirafter $(SRCTREE)/include \
+-              -idirafter $(OBJTREE)/include2 \
+-              -idirafter $(OBJTREE)/include \
++CPPFLAGS   = -I$(SRCTREE)/include \
++              -I$(OBJTREE)/include2 \
++              -I$(OBJTREE)/include \
+               -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC
+ CFLAGS     = $(HOST_CFLAGS) $(CPPFLAGS) -O
+ AFLAGS           = -D__ASSEMBLY__ $(CPPFLAGS)
index 8d69a54..d0d47d8 100644 (file)
@@ -55,6 +55,7 @@ file://uboot-gta02.patch;patch=1 \
 file://uboot-s3c2443.patch;patch=1 \
 file://uboot-smdk2443.patch;patch=1 \
 file://unbusy-i2c.patch;patch=1 \
+file://makefile-no-dirafter.patch;patch=1 \
 "
 
 PROVIDES = ""