All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/5] linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets
Date: Mon, 22 Apr 2019 22:08:25 +0200	[thread overview]
Message-ID: <20190422200830.2831-2-thomas.petazzoni@bootlin.com> (raw)
In-Reply-To: <20190422200830.2831-1-thomas.petazzoni@bootlin.com>

In commit ffbe46a5295ce4e0442728f2ad3e19afa7eaa8ed ("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>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 linux/linux.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 1eac3287ab..dca3d63cd9 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -444,7 +444,8 @@ define LINUX_BUILD_CMDS
 	$(foreach dts,$(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_DTS_PATH)), \
 		cp -f $(dts) $(LINUX_ARCH_PATH)/boot/dts/
 	)
-	$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) all $(LINUX_TARGET_NAME)
+	$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) all
+	$(LINUX_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(LINUX_TARGET_NAME)
 	$(LINUX_BUILD_DTB)
 	$(LINUX_APPEND_DTB)
 endef
-- 
2.20.1

  reply	other threads:[~2019-04-22 20:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-22 20:08 [Buildroot] [PATCH 0/5] Fix fallouts from LINUX_BUILD_CMDS simplification Thomas Petazzoni
2019-04-22 20:08 ` Thomas Petazzoni [this message]
2019-04-22 20:30   ` [Buildroot] [PATCH 1/5] linux: split calling "all" and "$(LINUX_TARGET_NAME)" targets 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190422200830.2831-2-thomas.petazzoni@bootlin.com \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.