[Buildroot] [PATCH v2] Fix building initramfs kernel with appended dtb

Nathan Ford nford at westpond.com
Wed Jul 31 15:47:36 UTC 2013

The target for building the kernel with a cpio initramfs is not
calling the append dtb commands, creating a final kernel image
without an appended dtb. Instead it needs to call kernel make on
the intermediate target, then call the append dtb commands
to produce the final image as the primary kernel build target

Signed-off-by: Nathan Ford <nford at westpond.com>
 linux/linux.mk |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 17e9838..9d29d9d 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -311,7 +311,8 @@ endif
 $(LINUX_DIR)/.stamp_initramfs_rebuilt: $(LINUX_DIR)/.stamp_target_installed $(LINUX_DIR)/.stamp_images_installed $(BINARIES_DIR)/rootfs.cpio
 	@$(call MESSAGE,"Rebuilding kernel with initramfs")
 	# Build the kernel.
 	# Copy the kernel image to its final destination
 	# If there is a .ub file copy it to the final destination

More information about the buildroot mailing list