Commit 23553540 authored by Reuben Dowle's avatar Reuben Dowle Committed by Thomas Petazzoni
Browse files

Install DTB as part of images install command



When installing DTB to the images directory, do this as part of the image
install commands rather than the target install commands.

Signed-off-by: default avatarReuben Dowle <reuben.dowle@4rf.com.az>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 1ac04c32
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -265,11 +265,11 @@ endef

define LINUX_INSTALL_IMAGES_CMDS
	cp $(LINUX_IMAGE_PATH) $(BINARIES_DIR)
	$(LINUX_INSTALL_DTB)
endef

define LINUX_INSTALL_TARGET_CMDS
	$(LINUX_INSTALL_KERNEL_IMAGE_TO_TARGET)
	$(LINUX_INSTALL_DTB)
	# Install modules and remove symbolic links pointing to build
	# directories, not relevant on the target
	@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then 	\