Nick Rees writes:
>I thought the answer to your point was to move any host dependent
>definitions from CONFIG_SITE to CONFIG_SITE.Unix.<arch> (i.e the host
>dependent file already exists, and I wouldn't like creating a new
>one. It is also global so can be under the same CVS control).
>
>So, in your case, in CONFIG_SITE you would put:
>
>HOST_ARCH = $(shell HostArch)
>
>and possibly (but not necessarily - it could be omitted) a default of
>
>BUILD_ARCH = $(HOST_ARCH)
>
>However, in CONFIG_SITE.Unix.sun4 (or whatever), you would put:
>
>BUILD_ARCH = $(HOST_ARCH) mv167...
>
>or, more perversely, (i.e. I am not sure whether it will work), if you
>only wanted to build the IOC tools on this host architecture.
>
>BUILD_ARCH = mv167.
>
>This would override any definition in CONFIG_SITE, because
>CONFIG_SITE.Unix.<arch> is processed after CONFIG_SITE but before
>RULES_ARCHS, which is the only place it is used.
Yes, sorry for not paying closer attention to your original post. I think
this works out well. Thanks for everyone's input.
Tony
- Navigate by Date:
- Prev:
Re: Building for more than one host architecture Nick Rees
- Next:
Standard SMC driver/record support for R3.12? mcgehee
- Index:
1994
<1995>
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
- Navigate by Thread:
- Prev:
Re: Building for more than one host architecture Nick Rees
- Next:
Building for more than one host architecture Janet B. Anderson
- Index:
1994
<1995>
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
|