tech-toolchain archive

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

Re: introduce OBJMACHINE_ARCH



> On Dec 6, 2016, at 2:40 PM, Christos Zoulas <christos%zoulas.com@localhost> wrote:
> 
> 
> I would like to keep multiple object directories like obj.evbarm-armeh and
> evbarm-earmeh etc. Unfortunately this is difficult to do now. Here's a patch
> that cleans up the existing code and add this feature:
> 
> christos

This kind of exists already.

RELEASEMACHINEDIR is there for RELEASEDIR so you can
mulitple evbarm without each obliterating each other.

I use MAKEOBJPREFIX using that.  No reason objdir
could use that as well.

Assume machinedir is evbearmv7hf-el and then :

(time sh build.sh \
        -N 1 \
        -V GMAKE_J_ARGS="$jobs" \
        -V RELEASEMACHINEDIR=$machinedir \
        -V USE_PIGZGZIP=yes \
        $options \
        $jobs \
        -m $machine \
        -u \
        -U \
        $xoptions \
        -O $buildroot/$machinedir/obj \
        -T $toolpath \
        -D $buildroot/$machinedir/root \
        -R $dstroot/release $task) >> $dstroot/$machinedir/$task.log 2>&1



Home | Main Index | Thread Index | Old Index