For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > January 2005 > make, solaris/Linux









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author make, solaris/Linux
Billy Patton

2005-01-31, 8:58 pm

uname -a
Linux holster07.dal.design.ti.com 2.4.21-15.EL #1 Thu Apr 22 00:27:41 EDT 2004
i686 i686 i386 GNU/Linux
make -v
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.


How do I get environment variables set?
snittpett:

export CDMG_LAFF_PATH_17="/vobs/GS50/cells/<cell>/archive/laf_lay"
export CDMG_LAFF_PATH_18="/vobs/GS50/cells/<cell>/archive/<cell>.laff"
export
CDMG_LAFF_PATH_19="/data/gs50_dallas/io/designs/<cell>/layout/<cell>.laff"

TECHNOLOGY := gs50
CELL := ic33t
LCELL := $(shell echo ${CELL} | tr '[A-Z]' '[a-z]')
UCELL := $(shell echo ${CELL} | tr '[a-z]' '[A-Z]')
MKOUTDIR := $(shell mkdir -p ${OUTDIR})
LAFF := $(shell ${CDMG_TOOLBOX}/bin/find_laff -c ${CELL})

all:
printf "LAFF = '${LAFF}'


results in :
printf "LAFF = ' You must do the following before executing this script!
source /data/cdmg_toolbox/bin/init_cdmg <gs30,gs40,sr40,gs50,sr50,gs60,sr60>'

Which only happens if CDMG_LAFF_PATH_19 has not been set

I tried the .EXPORT_ALL_VARIABLES but had the wrong syntax so it never worked.

___ _ ____ ___ __ __
/ _ )(_) / /_ __ / _ \___ _/ /_/ /____ ___
/ _ / / / / // / / ___/ _ `/ __/ __/ _ \/ _ \
/____/_/_/_/\_, / /_/ \_,_/\__/\__/\___/_//_/
/___/
Texas Instruments ASIC Circuit Design Methodology Group
Dallas, Texas, 214-480-4455, b-patton@ti.com
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com