summaryrefslogtreecommitdiffstats
path: root/libgloss/xc16x
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/xc16x')
-rwxr-xr-xlibgloss/xc16x/configure8
-rw-r--r--libgloss/xc16x/configure.in4
-rw-r--r--libgloss/xc16x/xc16x.mt3
3 files changed, 14 insertions, 1 deletions
diff --git a/libgloss/xc16x/configure b/libgloss/xc16x/configure
index f333181b4..0882037db 100755
--- a/libgloss/xc16x/configure
+++ b/libgloss/xc16x/configure
@@ -604,6 +604,7 @@ LIBOBJS
bsp_list
script_list
part_specific_obj
+target_makefile_frag_path
host_makefile_frag_path
CCASFLAGS
CCAS
@@ -674,7 +675,8 @@ PACKAGE_TARNAME
PACKAGE_NAME
PATH_SEPARATOR
SHELL'
-ac_subst_files='host_makefile_frag'
+ac_subst_files='host_makefile_frag
+target_makefile_frag'
ac_user_opts='
enable_option_checking
enable_dependency_tracking
@@ -2638,10 +2640,14 @@ test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
host_makefile_frag=${srcdir}/../config/default.mh
+target_makefile_frag=${srcdir}/../config/xc16x.mt
host_makefile_frag_path=$host_makefile_frag
+target_makefile_frag_path=$target_makefile_frag
+
+
diff --git a/libgloss/xc16x/configure.in b/libgloss/xc16x/configure.in
index 3527eff70..40ecfeac9 100644
--- a/libgloss/xc16x/configure.in
+++ b/libgloss/xc16x/configure.in
@@ -48,6 +48,7 @@ LIB_AM_PROG_AS
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 @@ dnl
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)
diff --git a/libgloss/xc16x/xc16x.mt b/libgloss/xc16x/xc16x.mt
new file mode 100644
index 000000000..2ac79cebc
--- /dev/null
+++ b/libgloss/xc16x/xc16x.mt
@@ -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.