summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schmidt <bernds_cb1@t-online.de>2008-01-18 02:22:25 +0000
committerBernd Schmidt <bernds_cb1@t-online.de>2008-01-18 02:22:25 +0000
commit1030faf587a2f4bea255bfd2db28b59e196493aa (patch)
tree949482236cc427e5a6b2ea0394cda68b30123046
parent0e910924766cc3e37da9d17bbc71ea0a42852018 (diff)
A patch from our Blackfin repository, originally from Mike Frysinger.
Add sysdeps/linux/$(TARGET_ARCH) to the list of includes. Needed by some of the Blackfin specific string assembly files.
-rw-r--r--Rules.mak3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rules.mak b/Rules.mak
index 11c94fb15..a6c0c3735 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -401,7 +401,8 @@ NOSTDLIB_CFLAGS:=$(call check_gcc,-nostdlib,)
# Some nice CFLAGS to work with
CFLAGS := -include $(top_builddir)include/libc-symbols.h \
$(XWARNINGS) $(CPU_CFLAGS) $(SSP_CFLAGS) \
- -fno-builtin -nostdinc -I$(top_builddir)include -I.
+ -fno-builtin -nostdinc -I$(top_builddir)include -I. \
+ -I$(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
CFLAGS += $(subst ",, $(UCLIBC_EXTRA_CFLAGS))