kumquat-buildroot/linux
Thomas Petazzoni 2a7cf511f4 linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets
In commit ffbe46a529 ("linux: simplify
LINUX_BUILD_CMDS"), we changed LINUX_BUILD_CMDS to essentially do:

  make all $(LINUX_TARGET_NAME)

Unfortunately, it turns out that it breaks the build of a number of
defconfigs, with errors such as:

  fixdep: error opening file: arch/xtensa/boot/lib/.inftrees.o.d: No such file or directory

Calling "all" and "$(LINUX_TARGET_NAME)" as separate make invocations
avoids this problem, and fixes the build of several defconfigs.

Fixes:

  ts7680_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339583

  qemu_xtensa_lx60_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339553

  roseapplepi_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339564

  qemu_xtensa_lx60_nommu_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339554

  qemu_ppc64_e5500_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339539

  freescale_t2080_qds_rdb_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339455

  arcturus_ucp1020_defconfig
  https://gitlab.com/buildroot.org/buildroot/-/jobs/199339399

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: add comment in the code to explain why we call the two make
targets separately, as suggested by Yann E. Morin]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-24 22:46:11 +02:00
..
0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional
Config.ext.in package/xenomai: move arch restriction to Cobalt core, no restriction for Mercury 2019-02-09 15:38:35 +01:00
Config.in {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.0.x series 2019-04-24 21:16:00 +02:00
linux-ext-aufs.mk
linux-ext-ev3dev-linux-drivers.mk
linux-ext-fbtft.mk
linux-ext-rtai.mk
linux-ext-xenomai.mk
linux.hash {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.0.x series 2019-04-24 21:16:00 +02:00
linux.mk linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets 2019-04-24 22:46:11 +02:00