Skip to contentSkip to conversation

Possible documentation error and a patch

Buildroot jerry at chordia.co.uk 2 participants 3 messages Nov 20, 2016

lore
Share & tools
lore
#0 lore raw

Greetings.

I think the example here
http://nightly.buildroot.org/manual.html#outside-br-custom has a couple of typos?

The example layout has $BR2_EXTERNAL_BAR_42_DIR instead of $BR2_EXTERNAL_BAR_42_PATH in a couple of places and the source lines in the example config.in are incorrectly quoted.

If I've read this correctly please find patch attached.

BR,

Jerry

Signed-off-by Jerry Evans g4 at novadsp.com
---
 docs/manual/customize-outside-br.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
(quoted diff) +0 -0

b/docs/manual/customize-outside-br.txt
index 70efabe..2ebb447 100644

docs/manual/customize-outside-br.txt +2 -2
@@ -217,8 +217,8 @@ illustration, of course):
   |     `----
   |
   |- Config.in
-  |     |source "$BR2_EXTERNAL_BAR_42_DIR/package/pkg-1/Config.in
-  |     |source "$BR2_EXTERNAL_BAR_42_DIR/package/pkg-2/Config.in
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-1/Config.in"
+  |     |source "$BR2_EXTERNAL_BAR_42_PATH/package/pkg-2/Config.in"
   |     |
   |     |config BAR_42_FLASH_ADDR
   |     |    hex "my-board flash address"
@@ -229,7 +229,7 @@ illustration, of course):
   |     |include $(sort $(wildcard

$(BR2_EXTERNAL_BAR_42_PATH)/package/*/*.mk))

   |     |
   |     |flash-my-board:
-  |     |    $(BR2_EXTERNAL_BAR_42_DIR)/board/my-board/flash-image \
+  |     |    $(BR2_EXTERNAL_BAR_42_PATH)/board/my-board/flash-image \
   |     |        --image $(BINARIES_DIR)/image.bin \
   |     |        --address $(BAR_42_FLASH_ADDR)
   |     `----
Signature · 1 line
2.7.4
#1 lore raw

Hello,

Quoted 12 lines · jerry at chordia.co.uk

Greetings.

I think the example here
http://nightly.buildroot.org/manual.html#outside-br-custom has a couple of typos?

The example layout has $BR2_EXTERNAL_BAR_42_DIR instead of $BR2_EXTERNAL_BAR_42_PATH in a couple of places and the source lines in the example config.in are incorrectly quoted.

If I've read this correctly please find patch attached.

Quoted 8 lines

BR,

Jerry

Signed-off-by Jerry Evans g4 at novadsp.com
---
 docs/manual/customize-outside-br.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Thanks, I've applied your patch to master. However, I had to:

- Rewrite entirely the commit message, because yours contained some irrelevant information for a commit log.

- Adjust your SoB line: your e-mail should have been enclosed in <...>

- Fix line wrapping in your patch. Please use 'git send-email' next time to send your patch, and not Outlook.

Thanks for having reported and fixed this issue!

Thomas

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

Hello Thomas,

Quoted 7 lines

- Rewrite entirely the commit message, because yours contained some irrelevant information for a commit log.

- Adjust your SoB line: your e-mail should have been enclosed in <...>

- Fix line wrapping in your patch. Please use 'git send-email' next time to send your patch, and not Outlook.

Apologies for any inconvenience caused! And will do.

Quoted 1 line

Thanks for having reported and fixed this issue!

You are welcome.