diff options
author | Jerome Lambourg <lambourg@adacore.com> | 2014-11-20 15:57:55 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2014-11-20 16:57:55 +0100 |
commit | 28eccd34faa42af5012ac8a3002e022131fb0b4f (patch) | |
tree | 23d3f4804f31ab6d2902793c09a94f7a627c60ff /gcc | |
parent | bcdb6b04a792df81eb09c535591e194fa1c91ca2 (diff) | |
download | gcc-28eccd34faa42af5012ac8a3002e022131fb0b4f.zip gcc-28eccd34faa42af5012ac8a3002e022131fb0b4f.tar.gz gcc-28eccd34faa42af5012ac8a3002e022131fb0b4f.tar.bz2 |
Makefile.in: Add some support for VxWorks7.
2014-11-20 Jerome Lambourg <lambourg@adacore.com>
* gcc-interface/Makefile.in: Add some support for VxWorks7.
From-SVN: r217881
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/ada/gcc-interface/Makefile.in | 17 |
2 files changed, 17 insertions, 4 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index cf6060d..8d72e44 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2014-11-20 Jerome Lambourg <lambourg@adacore.com> + + * gcc-interface/Makefile.in: Add some support for VxWorks7. + 2014-11-20 Thomas Quinot <quinot@adacore.com> * sem_ch13.adb, freeze.adb: Minor reformatting. diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index e781ae0..1e0214d 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -945,7 +945,7 @@ ifeq ($(strip $(filter-out %86 wrs vxworks vxworks7,$(target_cpu) $(target_vendo s-tpopsp.adb<s-tpopsp-vxworks-tls.adb \ s-vxwext.ads<s-vxwext-kernel.ads \ s-vxwext.adb<s-vxwext-kernel-smp.adb \ - system.ads<system-vxworks-x86-kernel.ads + system.ads<$(SVX)-x86-kernel.ads EXTRA_LIBGNAT_OBJS+=affinity.o else LIBGNAT_TARGET_PAIRS += \ @@ -970,12 +970,21 @@ ifeq ($(strip $(filter-out %86 wrs vxworks vxworks7,$(target_cpu) $(target_vendo EXTRA_LIBGNAT_OBJS+=vx_stack_info.o - GCC_SPEC_FILES+=vxworks-x86-link.spec - GCC_SPEC_FILES+=vxworks-smp-x86-link.spec + ifneq ($(strip $(filter-out vxworks7%, $(target_os))),) + GCC_SPEC_FILES+=vxworks-x86-link.spec + GCC_SPEC_FILES+=vxworks-smp-x86-link.spec + endif endif # ARM VxWorks ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(target_os))),) + + ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) + SVX=system-vxworks7 + else + SVX=system-vxworks + endif + LIBGNAT_TARGET_PAIRS = \ a-intnam.ads<a-intnam-vxworks.ads \ a-numaux.ads<a-numaux-vxworks.ads \ @@ -1010,7 +1019,7 @@ ifeq ($(strip $(filter-out arm% coff wrs vx%,$(target_cpu) $(target_vendor) $(ta s-vxwext.ads<s-vxwext-rtp.ads \ s-vxwext.adb<s-vxwext-rtp-smp.adb \ s-tpopsp.adb<s-tpopsp-vxworks-tls.adb \ - system.ads<system-vxworks-arm-rtp-smp.ads + system.ads<$(SVX)-arm-rtp-smp.ads EXTRA_LIBGNAT_OBJS+=affinity.o sigtramp-vxworks.o EXTRA_LIBGNAT_SRCS+=sigtramp.h |