#! /bin/sh # This is my vxmake script. # It is good for vxworks 5.1.1 and 5.3.1 # Normally it sets itself up for 5.1.1, # but a hidden file ".vw3" in the current directory # ( normally produced by "touch .vw3" ) # indicates that a project is intended for 5.3.1 #if [ -f ".vw3" ]; then export WIND_HOST_TYPE=linux export WIND_BASE=/u1/wind export VX_VW_BASE=/u1/wind/target export PATH=/u1/wind/host/linux/bin:$PATH export GCC_EXEC_PREFIX=/u1/wind/host/linux/lib/gcc-lib/ #else # export VX_HOST_TYPE=linux # # export VX_VW_BASE=/opt/vxworks/VW # export VX_BSP_BASE=/opt/vxworks/VW # export VX_HSP_BASE=/opt/vxworks/VW # # #export PATH=/u1/wind/host/linux/bin:$PATH # #export GCC_EXEC_PREFIX=/u1/wind/host/linux/lib/gcc-lib/ # export PATH=/opt/vxworks/VW/linux/bin:$PATH # export GCC_EXEC_PREFIX=/opt/vxworks/VW/linux/lib/gcc-lib/ #fi if [ -f ".vwx86" ]; then export VX_TARGET_CPU=I80486 else export VX_TARGET_CPU=MC68030 fi # since this is linux, this is Gnu make make $*