[Bug 4735] introduce BPN (base package name) to simplify *-native recipes
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Thu Oct 16 13:26:05 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=4735
--- Comment #3 from Robert Schuster <thebohemian at gmx.net> 2008-10-16 15:26:02 ---
For example purposes. Here is a snippet from a recipe which can be made simpler
using BPN/BP:
This is from xalan-j_2.7.1.bb when no BPN is available:
SRC_URI = "\
http://archive.apache.org/dist/xml/${PN}/${PN}_2_7_1-src.tar.gz \
http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-2.4.0.tar.gz \
"
S = "${WORKDIR}/${PN}_2_7_1"
The corresponding xalan-j-native would either need to redefine SRC_URI and S or
the non -native recipe had to use "xalan-j" instead of ${PN}.
With my patch applied I would just set everything to:
SRC_URI = "\
http://archive.apache.org/dist/xml/${BPN}/${BPN}_2_7_1-src.tar.gz \
http://archive.apache.org/dist/jakarta/bsf/source/bsf-src-2.4.0.tar.gz \
"
S = "${WORKDIR}/${BPN}_2_7_1"
and no further adjustement in the corresponding -native recipe.
As you see the BP is especially handy when bitbake.conf's default for S
(${WORKDIR}/${BP}) is correct for your software because then you do not need to
fumble with S in both recipes.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list