MSP430: Support new msp430-elfbare target

Message ID 20191213130924.2ba95c44@jozef-kubuntu
State New
Headers show
Series
  • MSP430: Support new msp430-elfbare target
Related show

Commit Message

Jozef Lawrynowicz Dec. 13, 2019, 1:09 p.m.
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

Comments

Corinna Vinschen Dec. 16, 2019, 9:16 a.m. | #1
On Dec 13 13:09, Jozef Lawrynowicz wrote:
> 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


Pushed.


Thanks,
Corinna


-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

Patch

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