diff options
author | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-01 13:00:56 +0000 |
---|---|---|
committer | hainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-09-01 13:00:56 +0000 |
commit | 14f92bf8613f5408023b82199b9b6ea1a6e54af3 (patch) | |
tree | 65dad1f115092dafc808ea9fc0d3582c4bf5dc83 /gcc/config/vxworksae.h | |
parent | 59cd0c8a577ba3f763c0b236d9de7bf7e36d2423 (diff) | |
download | gcc-14f92bf8613f5408023b82199b9b6ea1a6e54af3.tar.gz |
* config/vxworksae.h (VXWORKSAE_TARGET_DIR): Rely on
$WIND_BASE instead of designating a harcoded arbitrary home dir.
(VXWORKS_ADDITIONAL_CPP_SPEC): Adjust callers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vxworksae.h')
-rw-r--r-- | gcc/config/vxworksae.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/vxworksae.h b/gcc/config/vxworksae.h index 8f82026d58b..1708832510e 100644 --- a/gcc/config/vxworksae.h +++ b/gcc/config/vxworksae.h @@ -23,9 +23,8 @@ along with GCC; see the file COPYING3. If not see /* Most of the definitions below this point are versions of the vxworks.h definitions, without the -mrtp bits. */ -/* The directory containing the VxWorks AE target headers. */ -#define VXWORKSAE_TARGET_DIR \ - "/home/tornado/vxworks-ae/latest/target" +/* Resolve subdirectory of VxWorks AE target headers. */ +#define VXWORKSAE_TARGET_DIR(SUBDIR) "%:getenv(WIND_BASE /target" SUBDIR ")" /* Include target/vThreads/h or target/h (depending on the compilation mode), and then target/val/h (in either mode). The macros defined @@ -35,10 +34,10 @@ along with GCC; see the file COPYING3. If not see #define VXWORKS_ADDITIONAL_CPP_SPEC " \ %{!nostdinc:%{isystem*}} \ %{mvthreads:-DVTHREADS=1 \ - %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/vThreads/h}} \ + %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR("/vThreads/h") "}} \ %{!mvthreads:-DAE653_BUILD=1 \ - %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/h}} \ - %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/val/h}" + %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR("/h") "}} \ + %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR("/val/h") "}" #undef VXWORKS_LIB_SPEC #define VXWORKS_LIB_SPEC "" |