|author||Michael Walle <email@example.com>||2020-06-05 00:11:21 +0200|
|committer||Yann E. MORIN <firstname.lastname@example.org>||2020-06-06 00:07:25 +0200|
linux: introduce BR2_KERNEL_DTB_KEEP_DIRNAME
In linux, newer architectures like ARM64 and RISC-V keep their device tree sources organized by subdirectories. When these device trees are installed by the kernel they will keep the directory names. But buildroot strips the prefixes when installing them into /boot or the images directory. Sometimes the bootloader references the device tree by name (e.g. u-boot has the environment variable 'fdtfile') which also includes the prefix directory. Make it possible to keep this prefix during installation, so we can be compatible with other distributions and make it easier for the user, because he doesn't have to change that environment variable. Signed-off-by: Michael Walle <email@example.com> Signed-off-by: Yann E. MORIN <firstname.lastname@example.org>
Diffstat (limited to 'linux/Config.in')
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/Config.in b/linux/Config.in
index f85d72068c..61e84f00b4 100644
@@ -407,6 +407,13 @@ config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
You can provide a list of dts paths to copy and
build, separated by spaces.
+ bool "Keep the directory name of the Device Tree"
+ If enabled, the device tree blobs keep their
+ directory prefixes when they get copied to the
+ output image directory or the target directory.
bool "Build Device Tree with overlay support"