This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix xc16x configure file


Hi,

Building newlib with target xc16x-elf fails with the following error:

Makefile:169: *** missing separator.

Please find my patch, which fixes this issue, attached.
(The patch didn't contain the auto generated files)

Best regards,

Conny
Index: libgloss/xc16x/configure.in
===================================================================
RCS file: /cvs/src/src/libgloss/xc16x/configure.in,v
retrieving revision 1.2
diff -u -r1.2 configure.in
--- libgloss/xc16x/configure.in	16 Dec 2009 20:00:55 -0000	1.2
+++ libgloss/xc16x/configure.in	31 Jan 2010 12:12:15 -0000
@@ -48,6 +48,7 @@
 
 
 host_makefile_frag=${srcdir}/../config/default.mh
+target_makefile_frag=${srcdir}/../config/xc16x.mt
 
 dnl We have to assign the same value to other variables because autoconf
 dnl doesn't provide a mechanism to substitute a replacement keyword with
@@ -56,6 +57,9 @@
 host_makefile_frag_path=$host_makefile_frag
 AC_SUBST(host_makefile_frag_path)
 AC_SUBST_FILE(host_makefile_frag)
+target_makefile_frag_path=$target_makefile_frag
+AC_SUBST(target_makefile_frag_path)
+AC_SUBST_FILE(target_makefile_frag)
 AC_SUBST(part_specific_obj)
 AC_SUBST(script_list)
 AC_SUBST(bsp_list)
Index: libgloss/config/xc16x.mt
===================================================================
RCS file: libgloss/config/xc16x.mt
diff -N libgloss/config/xc16x.mt
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ libgloss/config/xc16x.mt	1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,3 @@
+# Dummy target-specific Makefile fragment for XC16X.  We can't
+# use default.mt because it refers to generic source files whose
+# names conflict with the XC16X-specific sources.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]