[Buildroot] [PATCH 03/13] linux: get default paths from BR2_PROJECT_DIR
Arnout Vandecappelle (Essensium/Mind)
arnout at mind.be
Sat Oct 13 23:14:01 UTC 2012
From: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
I'm not very happy with the default name 'linux.dts' for the device tree.
However, I haven't got a reasonable alternative.
---
linux/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/linux/Config.in b/linux/Config.in
index 257f934..cf8352d 100644
--- a/linux/Config.in
+++ b/linux/Config.in
@@ -121,6 +121,7 @@ config BR2_LINUX_KERNEL_DEFCONFIG
config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
string "Configuration file path"
depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
+ default "$(PROJECT_DIR)/linux.config" if BR2_PROJECT_DIR != ""
help
Path to the kernel configuration file
@@ -269,6 +270,7 @@ config BR2_LINUX_KERNEL_INTREE_DTS_NAME
config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
string "Device Tree Source file path"
depends on BR2_LINUX_KERNEL_USE_CUSTOM_DTS
+ default "$(PROJECT_DIR)/linux.dts" if BR2_PROJECT_DIR != ""
help
Path to the device tree source file
More information about the buildroot
mailing list