mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
linux: handle new dtb location since 3.8-rc1
.dtb files are now generated in arch/$ARCH/boot/dts instead of arch/$ARCH/boot, so extend the LINUX_INSTALL_DTB rule to look there as well. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
309c2f50fa
commit
ef34705087
@ -192,7 +192,10 @@ define LINUX_BUILD_DTB
|
|||||||
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTBS)
|
$(TARGET_MAKE_ENV) $(MAKE) $(LINUX_MAKE_FLAGS) -C $(@D) $(KERNEL_DTBS)
|
||||||
endef
|
endef
|
||||||
define LINUX_INSTALL_DTB
|
define LINUX_INSTALL_DTB
|
||||||
cp $(addprefix $(KERNEL_ARCH_PATH)/boot/,$(KERNEL_DTBS)) \
|
# dtbs moved from arch/$ARCH/boot to arch/$ARCH/boot/dts since 3.8-rc1
|
||||||
|
cp $(addprefix \
|
||||||
|
$(KERNEL_ARCH_PATH)/boot/$(if $(wildcard \
|
||||||
|
$(addprefix $(KERNEL_ARCH_PATH)/boot/dts/,$(KERNEL_DTBS))),dts/),$(KERNEL_DTBS)) \
|
||||||
$(BINARIES_DIR)/
|
$(BINARIES_DIR)/
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user