From 6948bc18f0a5bd5cfca40f6d18131b0673f05541 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Tue, 25 Apr 2017 11:03:52 +0000 Subject: [PATCH] * gcc-interface/Makefile.in: Cleanup VxWorks targets. From-SVN: r247186 --- gcc/ada/ChangeLog | 4 ++++ gcc/ada/gcc-interface/Makefile.in | 23 ++++++++++++++++------- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index cc1403c0226..24f3fa2c728 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2017-04-25 Arnaud Charlet + + * gcc-interface/Makefile.in: Cleanup VxWorks targets. + 2017-04-25 Eric Botcazou * fname.adb (Is_Internal_File_Name): Arrange for the slices to diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 5f570cf34c5..14269e271e1 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -517,8 +517,16 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7 vxworks7spe, ifeq ($(strip $(filter-out e500%, $(target_alias))),) ARCH_STR=e500 + # gcc config translates the target e500v2-wrs-vxworks to + # powerpc-wrs-vxworksspe. Let's keep the original alias here when + # generating s-oscons.ads. + target=$(target_alias) else - ARCH_STR=ppc + ifeq ($(strip $(filter-out powerpc64, $(target_cpu))),) + ARCH_STR=ppc64 + else + ARCH_STR=ppc + endif endif ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) @@ -622,8 +630,7 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7 vxworks7spe, system.ads