Skip to contentSkip to conversation

linux: change DEvice Tree prompt

PATCH New Yann E. MORIN 2 participants 3 messages Jan 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: change DEvice Tree prompt

The current prompt seem to imp[ly that we want to add Device Tree support to the Linux kernel:

[*] Device tree support

But what it really means is that Buildroot will build a DTB.

Change the prompt so that it is obvious that this is the intended behaviour, and users do not get mislead as to why Device Tree support is not automatically added to their Linux kernel.

Cc Thomas Petazzoni <[email protected]>
---
 linux/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
linux/Config.in +1 -1
index ba4b574..541002e 100644
@@ -269,7 +269,7 @@ config BR2_LINUX_KERNEL_UIMAGE_LOADADDR
 	  If unsure, let this option empty.
 
 config BR2_LINUX_KERNEL_DTS_SUPPORT
-	bool "Device tree support"
+	bool "Build a Device Tree Blob (DTB)"
 	help
 	  Compile a device tree source into a device tree blob.
 	  Select the dts file to compile in the options below.
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 linux: change DEvice Tree prompt

Dear Yann E. MORIN,

Minor typo in title, but another comment below.

linux/Config.in config BR2_LINUX_KERNEL_UIMAGE_LOADADDR · line 272

Quoted 3 lines · Yann E. MORIN

config BR2_LINUX_KERNEL_DTS_SUPPORT

linux/Config.in +1 -1
-	bool "Device tree support"
+	bool "Build a Device Tree Blob (DTB)"

We can actually build several DTBs. Is this worth caring about in the phrasing of the option prompt?

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 linux: change DEvice Tree prompt

Thomas, All,

On 2015-01-01 23:14 +0100, Thomas Petazzoni spake thusly:

Quoted 4 lines

Dear Yann E. MORIN,

Minor typo in title, but another comment below.

Quoted 8 lines

linux/Config.in config BR2_LINUX_KERNEL_UIMAGE_LOADADDR · line 272

Quoted 3 lines · Yann E. MORIN

config BR2_LINUX_KERNEL_DTS_SUPPORT

linux/Config.in +1 -1
-	bool "Device tree support"
+	bool "Build a Device Tree Blob (DTB)"

We can actually build several DTBs. Is this worth caring about in the phrasing of the option prompt?

Yes, I pondered that for, like, two seconds, and decided to not care. So, I don't care if you make that a plural before comitting. ;-)

However, making that a "one or more DTBs" thingy would be pretty much less intelligible, I believe.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'