diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-02-02 09:16:47 -0600 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-02-03 11:48:48 -0800 |
commit | 8a52fda62fb9e51f51e2504b617890ee9fe8b73a (patch) | |
tree | 649012e5e14d740c62a233818693925213f3ea8a /meta/conf/bitbake.conf | |
parent | 282a828f3dc373d8f1397827ebbe1be1c54f2d2a (diff) | |
download | poky-8a52fda62fb9e51f51e2504b617890ee9fe8b73a.tar.gz |
bitbake.conf & package.bbclass: Use default SUMMARY and DESCRIPTION
A new default SUMMARY and DESCRIPTION was defined for any package that
previously did not contain one. This value is based on the original
SUMMARY_${PN} value.
The new default SUMMARY and DESCRIPTION is used as a basis for all of
the automatic summary and descriptions for the various package splits,
include ${PN}, ${PN}-dbg, ${PN}-dev, ${PN}-doc, and locales.
A recipe may also override any of the automatic summaries by simply
specifying the value.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 3292a49c0d..f08dda646d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -166,14 +166,28 @@ BP = "${BPN}-${PV}" | |||
166 | 166 | ||
167 | SECTION = "base" | 167 | SECTION = "base" |
168 | PRIORITY = "optional" | 168 | PRIORITY = "optional" |
169 | SUMMARY_${PN} ?= "${PN} version ${PV}-${PR}" | 169 | SUMMARY ?= "${PN} version ${PV}-${PR}" |
170 | SUMMARY_${PN}-dbg ?= "Debugging files for ${PN}" | 170 | DESCRIPTION ?= "${SUMMARY}" |
171 | SUMMARY_${PN}-dev ?= "Development files for ${PN}" | 171 | |
172 | SUMMARY_${PN}-doc ?= "Documentation files for ${PN}" | 172 | # The following two are commented out because they result in a recursive |
173 | DESCRIPTION_${PN} ?= "${SUMMARY_${PN}}" | 173 | # definition of the variable in some corner cases. These are left in |
174 | DESCRIPTION_${PN}-dbg ?= "${SUMMARY_${PN}-dbg}" | 174 | # to illustrate the intended behavior. |
175 | DESCRIPTION_${PN}-dev ?= "${SUMMARY_${PN}-dev}" | 175 | #SUMMARY_${PN} ?= "${SUMMARY}" |
176 | DESCRIPTION_${PN}-doc ?= "${SUMMARY_${PN}-doc}" | 176 | #DESCRIPTION_${PN} ?= "${DESCRIPTION}" |
177 | |||
178 | SUMMARY_${PN}-dbg ?= "${SUMMARY} - Debugging files" | ||
179 | DESCRIPTION_${PN}-dbg ?= "${DESCRIPTION} \ | ||
180 | This package contains ELF symbols and related sources for debugging purposes." | ||
181 | |||
182 | SUMMARY_${PN}-dev ?= "${SUMMARY} - Development files" | ||
183 | DESCRIPTION_${PN}-dev ?= "${DESCRIPTION} \ | ||
184 | This package contains symbolic links, static binaries, header files, and \ | ||
185 | related items necessary for software development." | ||
186 | |||
187 | SUMMARY_${PN}-doc ?= "${SUMMARY} - Documentation files" | ||
188 | DESCRIPTION_${PN}-doc ?= "${DESCRIPTION} \ | ||
189 | This package contains documentation." | ||
190 | |||
177 | LICENSE = "INVALID" | 191 | LICENSE = "INVALID" |
178 | MAINTAINER = "Yocto Project Team <poky@yoctoproject.org>" | 192 | MAINTAINER = "Yocto Project Team <poky@yoctoproject.org>" |
179 | HOMEPAGE = "unknown" | 193 | HOMEPAGE = "unknown" |