Fixed dts parent directory issue.
PATCH 1/1 Fixed dts parent directory issue.
--- linux/linux.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
linux/linux.mk +2 -2
@@ -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
Signature · 1 line
1.7.9.5
PATCH 1/1 Fixed dts parent directory issue.
Dear Michael Nagy,
linux/linux.mk define LINUX_BUILD_DTB · line 196
Quoted 6 lines · Michael Nagy
define
LINUX_INSTALL_DTBlinux/linux.mk +1
-1- 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
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com