Skip to contentSkip to conversation

manual: clarify that Config.in comments should have correct dependencies

PATCH New Thomas De Schampheleire 2 participants 3 messages Nov 4, 2013 – Nov 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 manual: clarify that Config.in comments should have correct dependencies

---
Note: this documentation patch accompanies my earlier patch of today to add missing dependencies on such comments [1]. These two should have been sent as one series, sorry for that.
[1] http://patchwork.ozlabs.org/patch/288125/

 docs/manual/adding-packages-directory.txt |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
docs/manual/adding-packages-directory.txt +9 -0
@@ -171,6 +171,7 @@ C library, C++ support, largefile suppor
 IPv6 support, wchar support, or dynamic library support. Some packages
 can only be built on certain target architectures, or if an MMU is
 available in the processor.
+
 These dependencies have to expressed with the appropriate 'depends on'
 statements in the Config.in file. Additionally, for dependencies on
 toolchain options, a +comment+ should be displayed when the option is
@@ -180,6 +181,14 @@ made visible in a comment: since it is u
 freely choose another target, it makes little sense to show these
 dependencies explicitly.
 
+The +comment+ should only be visible if the +config+ option itself would
+be visible when the toolchain option dependencies are met. This means
+that all other dependencies of the package (including dependencies on
+target architecture and MMU support) have to be repeated on the
++comment+ definition. To keep it clear, the +depends on+ statement for
+these non-toolchain option should be kept separate from the +depends on+
+statement for the toolchain options.
+
 The general format of a dependency +comment+ for package foo is:
 --------------------------
 foo needs a toolchain w/ featA, featB, featC
#1 lore raw

PATCH 1/1 manual: clarify that Config.in comments should have correct dependencies

Hi Thomas,

2013/11/4 Thomas De Schampheleire <[email protected]>

Quoted 16 lines

---
Note: this documentation patch accompanies my earlier patch of today to add missing dependencies on such comments [1]. These two should have been sent as one series, sorry for that.
[1] http://patchwork.ozlabs.org/patch/288125/

 docs/manual/adding-packages-directory.txt |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

docs/manual/adding-packages-directory.txt C library, C++ support, largefile suppor · line 176

Quoted 6 lines
docs/manual/adding-packages-directory.txt +1 -0
@@ -171,6 +171,7 @@ C library, C++ support, largefile suppor
 IPv6 support, wchar support, or dynamic library support. Some packages
 can only be built on certain target architectures, or if an MMU is
 available in the processor.
+
 These dependencies have to expressed with the appropriate 'depends on'
 

s/have to expressed/have to be expressed/

statements in the Config.in file. Additionally, for dependencies on

Quoted 16 lines
docs/manual/adding-packages-directory.txt +8 -0
 toolchain options, a +comment+ should be displayed when the option is
@@ -180,6 +181,14 @@ made visible in a comment: since it is u
 freely choose another target, it makes little sense to show these
 dependencies explicitly.
 
+The +comment+ should only be visible if the +config+ option itself would
+be visible when the toolchain option dependencies are met. This means
+that all other dependencies of the package (including dependencies on
+target architecture and MMU support) have to be repeated on the
++comment+ definition. To keep it clear, the +depends on+ statement for
+these non-toolchain option should be kept separate from the +depends on+
+statement for the toolchain options.
+
 The general format of a dependency +comment+ for package foo is:
 --------------------------
 foo needs a toolchain w/ featA, featB, featC
Quoted 5 lines

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

(with this little fix ;))

Regards,

Signature · 4 lines
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131104/caa9d1e2/attachment.html>
#2 lore raw

PATCH 1/1 manual: clarify that Config.in comments should have correct dependencies

Hi Samuel,

Quoted 4 lines · Samuel Martin
Quoted 2 lines

+
These dependencies have to expressed with the appropriate 'depends on'

s/have to expressed/have to be expressed/

Hmm, seems we missed this in the original patch.
But I will fix it nevertheless, thanks.

Quoted 21 lines
Quoted 8 lines

statements in the Config.in file. Additionally, for dependencies on toolchain options, a +comment+ should be displayed when the option is

docs/manual/adding-packages-directory.txt +1 -0
@@ -180,6 +181,14 @@ made visible in a comment: since it is u
 freely choose another target, it makes little sense to show these
 dependencies explicitly.
 
+The +comment+ should only be visible if the +config+ option itself would

docs/manual/adding-packages-directory.txt made visible in a comment: since it is u · line 194

Quoted 10 lines
docs/manual/adding-packages-directory.txt +7 -0
+be visible when the toolchain option dependencies are met. This means
+that all other dependencies of the package (including dependencies on
+target architecture and MMU support) have to be repeated on the
++comment+ definition. To keep it clear, the +depends on+ statement for
+these non-toolchain option should be kept separate from the +depends on+
+statement for the toolchain options.
+
 The general format of a dependency +comment+ for package foo is:
 --------------------------
 foo needs a toolchain w/ featA, featB, featC
Quoted 2 lines

(with this little fix ;))

Thanks,
Thomas