Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/3] Fix pkg-kconfig packages with ccache enabled
@ 2019-01-10 21:14 Thomas Petazzoni
  2019-01-10 21:14 ` [Buildroot] [PATCH 1/3] package/pkg-kconfig: pass HOSTCC during kconfig steps Thomas Petazzoni
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Thomas Petazzoni @ 2019-01-10 21:14 UTC (permalink / raw)
  To: buildroot

Hello,

This series addresses a problem that has been reported several times:
if you have BR2_CCACHE=y and run "make uboot-menuconfig" from a clean
tree, it fails because U-Boot tries to build the kconfig code with
ccache, but ccache has not been built yet.

To address this, we:

 - Make sure to pass HOSTCC=$(HOSTCC_NOCCACHE) in the kconfig steps of
   kconfig packages. This has in fact no real effect, because linux
   and u-boot were overriding HOSTCC, and other packages were not
   passing HOSTCC, so plain "gcc" was used.

 - Fix the U-Boot case by passing HOSTCC=$(HOSTCC_NOCCACHE)

 - Make the Linux case consistent with other kconfig packages by also
   passing HOSTCC=$(HOSTCC_NOCCACHE)

Thanks,

Thomas

Thomas Petazzoni (3):
  package/pkg-kconfig: pass HOSTCC during kconfig steps
  boot/uboot: use HOSTCC_NOCCACHE as kconfig HOSTCC
  linux: use HOSTCC_NOCCACHE as kconfig HOSTCC

 boot/uboot/uboot.mk    |  5 +++--
 linux/linux.mk         | 17 ++++++++++-------
 package/pkg-kconfig.mk | 10 +++++++---
 3 files changed, 20 insertions(+), 12 deletions(-)

-- 
2.20.1

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

end of thread, other threads:[~2019-01-28 17:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-10 21:14 [Buildroot] [PATCH 0/3] Fix pkg-kconfig packages with ccache enabled Thomas Petazzoni
2019-01-10 21:14 ` [Buildroot] [PATCH 1/3] package/pkg-kconfig: pass HOSTCC during kconfig steps Thomas Petazzoni
2019-01-13 21:43   ` Yann E. MORIN
2019-01-16 22:39   ` Peter Korsgaard
2019-01-28 17:01   ` Peter Korsgaard
2019-01-10 21:14 ` [Buildroot] [PATCH 2/3] boot/uboot: use HOSTCC_NOCCACHE as kconfig HOSTCC Thomas Petazzoni
2019-01-13 21:47   ` Yann E. MORIN
2019-01-13 21:51     ` Yann E. MORIN
2019-01-24 16:12       ` Arnout Vandecappelle
2019-01-16 22:39   ` Peter Korsgaard
2019-01-28 17:01   ` Peter Korsgaard
2019-01-10 21:15 ` [Buildroot] [PATCH 3/3] linux: " Thomas Petazzoni
2019-01-13 21:50   ` Yann E. MORIN
2019-01-16 22:40   ` Peter Korsgaard
2019-01-28 17:01   ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox