diff options
| -rw-r--r-- | meta/recipes-core/newlib/libgloss/fix_makefile_include_arm_h.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-core/newlib/libgloss/fix_makefile_include_arm_h.patch b/meta/recipes-core/newlib/libgloss/fix_makefile_include_arm_h.patch deleted file mode 100644 index 7645be7314..0000000000 --- a/meta/recipes-core/newlib/libgloss/fix_makefile_include_arm_h.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | Upstream-Status: Inappropriate [OE-Specific] | ||
| 2 | |||
| 3 | When trying to build libgloss for an arm target, the build system | ||
| 4 | complains about missing some include files: | ||
| 5 | |||
| 6 | | fatal error: acle-compiat.h: No such file or directory | ||
| 7 | | #include "acle-compat.h" | ||
| 8 | | ^~~~~~~~~~~~~~~ | ||
| 9 | | compilation terminated. | ||
| 10 | |||
| 11 | These include files come from the newlib source, but since we | ||
| 12 | are building libgloss separately from newlib, libgloss is unaware | ||
| 13 | of where they are, this patch fixes the INCLUDES so the build system | ||
| 14 | can find such files. | ||
| 15 | |||
| 16 | Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | ||
| 17 | |||
| 18 | Index: newlib-3.0.0/libgloss/config/default.mh | ||
| 19 | =================================================================== | ||
| 20 | --- newlib-3.0.0.orig/libgloss/config/default.mh | ||
| 21 | +++ newlib-3.0.0/libgloss/config/default.mh | ||
| 22 | @@ -1,7 +1,7 @@ | ||
| 23 | NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi` | ||
| 24 | NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi` | ||
| 25 | |||
| 26 | -INCLUDES = -I. -I$(srcdir)/.. | ||
| 27 | +INCLUDES = -I. -I$(srcdir)/.. -I$(srcdir)/../newlib/libc/machine/arm | ||
| 28 | # Note that when building the library, ${MULTILIB} is not the way multilib | ||
| 29 | # options are passed; they're passed in $(CFLAGS). | ||
| 30 | CFLAGS_FOR_TARGET = -O2 -g ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS} | ||
