All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/5] Fix fallouts from LINUX_BUILD_CMDS simplification
@ 2019-04-22 20:08 Thomas Petazzoni
  2019-04-22 20:08 ` [Buildroot] [PATCH 1/5] linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets Thomas Petazzoni
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Thomas Petazzoni @ 2019-04-22 20:08 UTC (permalink / raw)
  To: buildroot

Hello,

In commit ffbe46a5295ce4e0442728f2ad3e19afa7eaa8ed, a patch of mine
changed LINUX_BUILD_CMDS to do "make all $(LINUX_TARGET_NAME)" instead
of "make $(LINUX_TARGET_NAME)" and "make modules".

This has caused a number of build issues in our defconfigs:

 - A number of kernel configurations apparently don't build well when
   the "all" target is built concurrently with $(LINUX_TARGET_NAME),
   with weird file not found errors.

   We fix this by doing "make all" and "make $(LINUX_TARGET_NAME)"
   separately (first patch)

 - Due to calling "make all", a little bit more might get built, and
   sometimes this "little bit more" needs mkimage, so we add
   host-uboot-tools to the defconfig. This is enough as linux/linux.mk
   automatically adds host-uboot-tools to its dependency if it's
   enabled. I hesitated with adding an explicit
   BR2_LINUX_KERNEL_NEEDS_HOST_UBOOT_TOOLS option, let me know if this
   sounds better or if the proposed solution in this patch series is
   good enough.

Thanks,

Thomas

Thomas Petazzoni (5):
  linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets
  configs/beaglebone: kernel build needs mkimage
  configs/qemu_nios2_10m50: kernel build needs mkimage
  configs/qemu_ppc_mpc8544ds: kernel build needs mkimage
  configs/qemu_ppc_virtex_ml507: kernel build needs mkimage

 configs/beaglebone_defconfig            | 2 ++
 configs/qemu_nios2_10m50_defconfig      | 3 +++
 configs/qemu_ppc_mpc8544ds_defconfig    | 3 +++
 configs/qemu_ppc_virtex_ml507_defconfig | 3 +++
 linux/linux.mk                          | 3 ++-
 5 files changed, 13 insertions(+), 1 deletion(-)

-- 
2.20.1

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

end of thread, other threads:[~2019-04-26 13:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22 20:08 [Buildroot] [PATCH 0/5] Fix fallouts from LINUX_BUILD_CMDS simplification Thomas Petazzoni
2019-04-22 20:08 ` [Buildroot] [PATCH 1/5] linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets Thomas Petazzoni
2019-04-22 20:30   ` Yann E. MORIN
2019-04-26 13:01   ` Peter Korsgaard
2019-04-22 20:08 ` [Buildroot] [PATCH 2/5] configs/beaglebone: kernel build needs mkimage Thomas Petazzoni
2019-04-22 20:35   ` Yann E. MORIN
2019-04-26 13:02   ` Peter Korsgaard
2019-04-22 20:08 ` [Buildroot] [PATCH 3/5] configs/qemu_nios2_10m50: " Thomas Petazzoni
2019-04-22 20:36   ` Yann E. MORIN
2019-04-26 13:02   ` Peter Korsgaard
2019-04-22 20:08 ` [Buildroot] [PATCH 4/5] configs/qemu_ppc_mpc8544ds: " Thomas Petazzoni
2019-04-22 20:36   ` Yann E. MORIN
2019-04-26 13:02   ` Peter Korsgaard
2019-04-22 20:08 ` [Buildroot] [PATCH 5/5] configs/qemu_ppc_virtex_ml507: " Thomas Petazzoni
2019-04-22 20:37   ` Yann E. MORIN
2019-04-26 13:02   ` Peter Korsgaard
2019-04-22 20:34 ` [Buildroot] [PATCH 0/5] Fix fallouts from LINUX_BUILD_CMDS simplification Yann E. MORIN
2019-04-24 20:47 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.