Skip to content

Support for out-of-tree device-tree while keeping customizations outside of Buildroot#7

Open
lost-byte wants to merge 1 commit intoOpenNuvoton:masterfrom
lost-byte:linux.mk-for-BR2_EXTERNAL
Open

Support for out-of-tree device-tree while keeping customizations outside of Buildroot#7
lost-byte wants to merge 1 commit intoOpenNuvoton:masterfrom
lost-byte:linux.mk-for-BR2_EXTERNAL

Conversation

@lost-byte
Copy link

The Buildroot manual offers two approaches to customization. One of them is changes outside of the Buildroot tree, using the br2-external mechanism.
But in the current version, the LINUX_BUILD_DTB goal recipe in linux.mk does not allow such mechanism to be used. This is also due to the fact that in the kernel source tree the device-tree files for arm64 are not located directly in the /arch/arm/boot/dts/ directory, but are distributed in folders with the manufacturer's name.
The file linux.mk changed so that the BR2_LINUX_KERNEL_CUSTOM_DTS_PATH option set for example as "$(BR2_EXTERNAL_MYBOARD_PATH)\linux\device-tree\ma35d1-myboard-256m.dts" can be proсessed correctly.

…pplied. Namely, using the BR2_LINUX_KERNEL_CUSTOM_DTS_PATH option, apply a custom device-tree file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant