diff options
author | Graeme Gregory <dp@xora.org.uk> | 2007-10-03 15:58:25 +0000 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2007-10-03 15:58:25 +0000 |
commit | bc7a87b8d2670b3023308c4a83c00625b3947241 (patch) | |
tree | 1d27c0f21176b5ad21611cb2fffdedd7e3525b68 /packages/uboot | |
parent | 3e976e3505bd04e84d2d57dcb057970b5b8219d9 (diff) |
uboot/u-boot-mkimage-openmoko-native_oe.bb : make build include dirs be
before system dirs to we dont pick up /usr/include and /usr/local/include
when we dont want to.
Diffstat (limited to 'packages/uboot')
-rw-r--r-- | packages/uboot/u-boot-mkimage-openmoko-native/makefile-no-dirafter.patch | 17 | ||||
-rw-r--r-- | packages/uboot/u-boot-mkimage-openmoko-native_oe.bb | 1 |
2 files changed, 18 insertions, 0 deletions
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 index 0000000000..2ed26c3127 --- /dev/null +++ b/packages/uboot/u-boot-mkimage-openmoko-native/makefile-no-dirafter.patch @@ -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) diff --git a/packages/uboot/u-boot-mkimage-openmoko-native_oe.bb b/packages/uboot/u-boot-mkimage-openmoko-native_oe.bb index 8d69a54c4c..d0d47d84d8 100644 --- a/packages/uboot/u-boot-mkimage-openmoko-native_oe.bb +++ b/packages/uboot/u-boot-mkimage-openmoko-native_oe.bb @@ -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 = "" |