[Bug 4735] New: 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:01:38 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4735

           Summary: introduce BPN (base package name) to simplify *-native
                    recipes
    Classification: Unclassified
           Product: Openembedded
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: thebohemian at gmx.net


I think that *-native recipes that derive from their non-native variant need to
much boilerplate code.

IMO the main reason for this is that we have no general way to express the name
of the software (PN) independently from the file name of the recipe.

To fix this I propose the introduction of the BPN variable in bitbake.conf
which is derived from PN but has some well-known suffixes like "-native",
"-cross", "-initial" and "-intermediate" stripped away.

We should also define BP which is the equivalent to P (BPN = "${BP}- ${PV}).

Later on we should use BP and BPN for the definition of S ( =
"${WORKDIR}/${BP}") and add them to FILESPATH.

For any recipe that has a -native (or similar) variant you can now make use of
BPN or BP in situations where you want the software's name and prevent a change
of that name when the above mentioned suffixes are added to the recipes' file
name.

-- 
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