Commit 53a0a01
committed
vscode: compute S prefix in Python instead of UNPACKDIR=WORKDIR
The first cut at this fix set UNPACKDIR ??= ${WORKDIR} so kirkstone /
scarthgap (which don't define UNPACKDIR) would still work, but
bitbake.conf on styhead+ rejects the literal 'UNPACKDIR = ${WORKDIR}'
assignment ('Using UNPACKDIR = ${WORKDIR} is not supported').
Compute the prefix via a Python expression instead: use UNPACKDIR if
the release has set one, fall back to WORKDIR otherwise. Same end
result on every supported release without tripping the assertion.1 parent 2628fb7 commit 53a0a01
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments