diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-10-22 15:44:46 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2008-10-22 15:44:46 +0200 |
commit | ddf02a17c1438ee550a1d36fb5b16070c3b08839 (patch) | |
tree | c7e86c0a1557eede763b693ebe8ac274da6162e7 /conf/bitbake.conf | |
parent | f77c2e4e5955db5903cbe87b8351f58f108373ba (diff) | |
parent | 82b18c75ad240f8b4fd5169d3df897615d752d2e (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r-- | conf/bitbake.conf | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf index 071c1efdc9..93064b0a30 100644 --- a/conf/bitbake.conf +++ b/conf/bitbake.conf @@ -143,10 +143,11 @@ EXTENDPEVER = "${@['','${PE\x7d:'][bb.data.getVar('PE',d,1) > 0]}" DEBPV = "${EXTENDPEVER}${PV}-${PR}" P = "${PN}-${PV}" -################################################################## -# Distro default -################################################################## -DISTRO_PR ?= "" +# Base package name +# Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial" +# otherwise it is the same as PN and P +BPN = "${@base_package_name(d)}" +BP = "${BPN}-${PV}" # Package info. @@ -217,7 +218,7 @@ FILES_${PN}-locale = "${datadir}/locale" export MANIFEST = "${FILESDIR}/manifest" FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}" -FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}" +FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/${BP}:${FILE_DIRNAME}/${BPN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}" FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}" ################################################################## @@ -237,7 +238,7 @@ STAMP = "${TMPDIR}/stamps/${MULTIMACH_TARGET_SYS}/${PF}" WORKDIR = "${TMPDIR}/work/${MULTIMACH_TARGET_SYS}/${PF}" T = "${WORKDIR}/temp" D = "${WORKDIR}/image" -S = "${WORKDIR}/${P}" +S = "${WORKDIR}/${BP}" B = "${S}" STAGING_DIR = "${TMPDIR}/staging" |