* [Buildroot] [PATCH] Fixed dts parent directory issue.
@ 2013-02-12 16:55 Michael Nagy
2013-02-12 19:27 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Michael Nagy @ 2013-02-12 16:55 UTC (permalink / raw)
To: buildroot
---
linux/linux.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
index c4bdf90..8182f62 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -190,14 +190,14 @@ define LINUX_BUILD_DTB
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTS_NAME).dtb
endef
define LINUX_INSTALL_DTB
- cp $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/
+ cp $(KERNEL_ARCH_PATH)/boot/dts/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/
endef
endif
endif
ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y)
define LINUX_APPEND_DTB
- cat $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb >> $(KERNEL_ARCH_PATH)/boot/zImage
+ cat $(KERNEL_ARCH_PATH)/boot/dts/$(KERNEL_DTS_NAME).dtb >> $(KERNEL_ARCH_PATH)/boot/zImage
# We need to generate the uImage here after that so that the uImage is
# generated with the right image size.
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) uImage
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] Fixed dts parent directory issue.
2013-02-12 16:55 [Buildroot] [PATCH] Fixed dts parent directory issue Michael Nagy
@ 2013-02-12 19:27 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2013-02-12 19:27 UTC (permalink / raw)
To: buildroot
Dear Michael Nagy,
On Tue, 12 Feb 2013 11:55:35 -0500, Michael Nagy wrote:
> define LINUX_INSTALL_DTB
> - cp $(KERNEL_ARCH_PATH)/boot/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/
> + cp $(KERNEL_ARCH_PATH)/boot/dts/$(KERNEL_DTS_NAME).dtb $(BINARIES_DIR)/
> endef
> endif
> endif
This has already been fixed in the Git repository by
5b33e0b6a139ce3a622817b45a8882a448312fc0 and
a1cfe20df6c6b4f148db0c104e8ff701654a2c09.
Your fix was also not entirely correct, because it would have broken
the build of kernel earlier than 3.8 (at which time dtbs were build in
arch/<arch>/boot and not arch/<arch>/boot/dts). The commits we have in
the Git repository take this into account.
Note that those two fixes are also part of the 2013.02-rc1 release
candidate that was published a few days ago.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-02-12 19:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-12 16:55 [Buildroot] [PATCH] Fixed dts parent directory issue Michael Nagy
2013-02-12 19:27 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox