tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: introduce OBJMACHINE_ARCH



On Dec 8,  7:19am, mrg%eterna.com.au@localhost (matthew green) wrote:
-- Subject: re: introduce OBJMACHINE_ARCH

| i'm still not a fan.  i am positive you can do this with
| MAKEOBJPREFIX.
| 
| it also relies upon a new feature to work, where as using
| the existing methods works going back to some distant time
| in the past.  it's frustrating when the build environment
| changes so heavily between releases and i'm yet to see why
| MAKEOBJPREFIX isn't useable here.
| 
| here, this seems to work:
| 
| MAKEOBJPREFIX=3D'${NETBSDSRCDIR}/obj.${MACHINE}-${MACHINE_ARCH}/${.CURDIR:S=
| /${NETBSDSRCDIR}\///}'

Not really, it is not designed to be a SUFFIX and it must exist...

[4:27pm] 346>cd /usr/src/bin/ls
[4:27pm] 347>setenv MAKEOBJDIRPREFIX '${NETBSDSRCDIR}${.CURDIR:S/${NETBSDSRCDIR}//}/obj.${MACHINE}-${MACHINE_ARCH}'
[4:27pm] 348>make obj
MAKEOBJDIRPREFIX /net/quasar/src-5/NetBSD/src/bin/ls/obj.amd64-x86_64 does not exist, bailing...
*** Error code 1

Stop.
make: stopped in /net/quasar/src-5/NetBSD/src/bin/ls
Exit 1



christos


Home | Main Index | Thread Index | Old Index