diff options
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index c8f4b8dfe2..dc3352bf54 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -135,6 +135,13 @@ EXTENDPEVER = "${@['','${PE\x7d:'][bb.data.getVar('PE',d,1) > 0]}" | |||
135 | DEBPV = "${EXTENDPEVER}${PV}-${PR}" | 135 | DEBPV = "${EXTENDPEVER}${PV}-${PR}" |
136 | P = "${PN}-${PV}" | 136 | P = "${PN}-${PV}" |
137 | 137 | ||
138 | # Base package name | ||
139 | # Automatically derives "foo" from "foo-native", "foo-cross" or "foo-initial" | ||
140 | # otherwise it is the same as PN and P | ||
141 | SPECIAL_PKGSUFFIX = "-native -cross-sdk -cross -sdk -initial -intermediate" | ||
142 | BPN = "${@base_prune_suffix(bb.data.getVar('PN', d, True), bb.data.getVar('SPECIAL_PKGSUFFIX', d, True).split(), d)}" | ||
143 | BP = "${BPN}-${PV}" | ||
144 | |||
138 | # Package info. | 145 | # Package info. |
139 | 146 | ||
140 | SECTION = "base" | 147 | SECTION = "base" |
@@ -217,7 +224,7 @@ STAMP = "${TMPDIR}/stamps/${PF}" | |||
217 | WORKDIR = "${TMPDIR}/work/${PF}" | 224 | WORKDIR = "${TMPDIR}/work/${PF}" |
218 | T = "${WORKDIR}/temp" | 225 | T = "${WORKDIR}/temp" |
219 | D = "${WORKDIR}/image" | 226 | D = "${WORKDIR}/image" |
220 | S = "${WORKDIR}/${P}" | 227 | S = "${WORKDIR}/${BP}" |
221 | B = "${S}" | 228 | B = "${S}" |
222 | 229 | ||
223 | STAGING_DIR = "${TMPDIR}/staging" | 230 | STAGING_DIR = "${TMPDIR}/staging" |