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 | |
parent | 282a828f3dc373d8f1397827ebbe1be1c54f2d2a (diff) | |
download | openembedded-core-8a52fda62fb9e51f51e2504b617890ee9fe8b73a.tar.gz openembedded-core-8a52fda62fb9e51f51e2504b617890ee9fe8b73a.tar.bz2 openembedded-core-8a52fda62fb9e51f51e2504b617890ee9fe8b73a.tar.xz openembedded-core-8a52fda62fb9e51f51e2504b617890ee9fe8b73a.zip |
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')
-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 3292a49c0..f08dda646 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -166,14 +166,28 @@ BP = "${BPN}-${PV}" SECTION = "base" PRIORITY = "optional" -SUMMARY_${PN} ?= "${PN} version ${PV}-${PR}" -SUMMARY_${PN}-dbg ?= "Debugging files for ${PN}" -SUMMARY_${PN}-dev ?= "Development files for ${PN}" -SUMMARY_${PN}-doc ?= "Documentation files for ${PN}" -DESCRIPTION_${PN} ?= "${SUMMARY_${PN}}" -DESCRIPTION_${PN}-dbg ?= "${SUMMARY_${PN}-dbg}" -DESCRIPTION_${PN}-dev ?= "${SUMMARY_${PN}-dev}" -DESCRIPTION_${PN}-doc ?= "${SUMMARY_${PN}-doc}" +SUMMARY ?= "${PN} version ${PV}-${PR}" +DESCRIPTION ?= "${SUMMARY}" + +# The following two are commented out because they result in a recursive +# definition of the variable in some corner cases. These are left in +# to illustrate the intended behavior. +#SUMMARY_${PN} ?= "${SUMMARY}" +#DESCRIPTION_${PN} ?= "${DESCRIPTION}" + +SUMMARY_${PN}-dbg ?= "${SUMMARY} - Debugging files" +DESCRIPTION_${PN}-dbg ?= "${DESCRIPTION} \ +This package contains ELF symbols and related sources for debugging purposes." + +SUMMARY_${PN}-dev ?= "${SUMMARY} - Development files" +DESCRIPTION_${PN}-dev ?= "${DESCRIPTION} \ +This package contains symbolic links, static binaries, header files, and \ +related items necessary for software development." + +SUMMARY_${PN}-doc ?= "${SUMMARY} - Documentation files" +DESCRIPTION_${PN}-doc ?= "${DESCRIPTION} \ +This package contains documentation." + LICENSE = "INVALID" MAINTAINER = "Yocto Project Team <poky@yoctoproject.org>" HOMEPAGE = "unknown" |