This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] MSP430: Support new msp430-elfbare target
- From: Jozef Lawrynowicz <jozef dot l at mittosystems dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>
- Date: Fri, 13 Dec 2019 13:09:24 +0000
- Subject: [PATCH] MSP430: Support new msp430-elfbare target
If the attached patch is acceptable I would appreciate if someone would commit
it for me, as I do not have write access.
Thanks,
Jozef
>From b47eb7b95923672a23e8acd0afed40af3117af8c Mon Sep 17 00:00:00 2001
From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
Date: Mon, 25 Nov 2019 21:17:41 +0000
Subject: [PATCH] MSP430: Support new msp430-elfbare target
Update the target triplet glob used when configuring for msp430 to
support a new msp430-elfbare target being added to gcc.
---
libgloss/configure | 2 +-
libgloss/configure.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libgloss/configure b/libgloss/configure
index 6c592b16b..0d2918cee 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -2552,7 +2552,7 @@ case "${target}" in
subdirs="$subdirs m32c"
;;
- msp430*-*-elf)
+ msp430-*-elf*)
subdirs="$subdirs msp430"
config_libnosys=false
diff --git a/libgloss/configure.in b/libgloss/configure.in
index 16f413f66..f38d5298e 100644
--- a/libgloss/configure.in
+++ b/libgloss/configure.in
@@ -148,7 +148,7 @@ case "${target}" in
m32c-*-*)
AC_CONFIG_SUBDIRS([m32c])
;;
- msp430*-*-elf)
+ msp430-*-elf*)
AC_CONFIG_SUBDIRS([msp430])
config_libnosys=false
;;
--
2.17.1