tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: introduce OBJMACHINE_ARCH
In article <18817.1481064533%splode.eterna.com.au@localhost>,
matthew green <mrg%eterna.com.au@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:
>
>i don't think we need to patch make. i use this:
>
>setenv MAKEOBJDIRPREFIX
>'/var/obj/${MACHINE}${MACHINE_ARCH:N${MACHINE}:C/(.)/-\1/}${ACTIVE_CC:Mclang}
>
>which gives me that feature without any source code changes and
>it works going back to when MAKEOBJDIRPREFIX was added.
- this does not put the objdir in the tree.
- it needs an external environment variable setup which is specific
for each tree.
christos
Home |
Main Index |
Thread Index |
Old Index