xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH 0/3] build: honor toolchain related environment vars
@ 2019-07-26 13:33 Roger Pau Monne
  2019-07-26 13:33 ` [Xen-devel] [PATCH 1/3] kconfig: include default toolchain values Roger Pau Monne
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Roger Pau Monne @ 2019-07-26 13:33 UTC (permalink / raw)
  To: xen-devel; +Cc: Roger Pau Monne

Hello,

Current Xen build system will ignore any toolchain related variables on
the environment when building (ie: CC, LD, CXX...), and the only way to
set those is to assign them directly on the make command line (ie: make
CC=foo CXX=bar ...).

The following series attempts to fix this, by removing the hardcoding of
the toolchain variables previously done in StdGNU.mk.

Note that this has the side effect that the build system will no longer
prepend CROSS_COMPILE to the toolchain variables if those are already
set. So if you are building Xen and setting CROSS_COMPILE make sure
toolchain variables are unset, or if set they should contain
CROSS_COMPILE. The Travis CI script is updated in patch 2/3 in order to
comply with the above.

The series can be found at:

git://xenbits.xen.org/people/royger/xen.git env_tools.wip

Results from Travis and gitlab CI loops are at:

https://travis-ci.org/royger/xen/builds/563972832
https://gitlab.com/xen-project/people/royger/xen/pipelines/73130338

Thanks, Roger.

Roger Pau Monne (3):
  kconfig: include default toolchain values
  build: allow picking the env values for compiler variables
  build: allow picking the env values for toolchain utilities

 config/StdGNU.mk                   | 55 ++++++++++++++++--------------
 scripts/travis-build               |  8 +++++
 xen/Makefile                       |  6 ++--
 xen/tools/kconfig/Makefile.kconfig |  7 ++--
 4 files changed, 43 insertions(+), 33 deletions(-)

-- 
2.20.1 (Apple Git-117)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-08-29 10:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-26 13:33 [Xen-devel] [PATCH 0/3] build: honor toolchain related environment vars Roger Pau Monne
2019-07-26 13:33 ` [Xen-devel] [PATCH 1/3] kconfig: include default toolchain values Roger Pau Monne
2019-07-29 15:31   ` Jan Beulich
2019-08-20  7:47     ` Roger Pau Monné
2019-07-26 13:33 ` [Xen-devel] [PATCH 2/3] build: allow picking the env values for compiler variables Roger Pau Monne
2019-07-29 15:35   ` Jan Beulich
2019-08-20  7:58     ` Roger Pau Monné
2019-08-27  9:17       ` Jan Beulich
2019-08-27 10:59         ` Ian Jackson
2019-08-29 10:30           ` Roger Pau Monné
2019-07-26 13:33 ` [Xen-devel] [PATCH 3/3] build: allow picking the env values for toolchain utilities Roger Pau Monne
2019-07-29 15:39   ` Jan Beulich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).