Browse Source

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.

Bernd Schmidt 17 years ago
parent
commit
1030faf587
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Rules.mak

+ 2 - 1
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))