Commit f304dfc
committed
Add wrynose (OpenEmbedded 5.0) compatibility
wrynose is the codename for the OE-core 5.0 / Yocto 5.1 release.
Several changes are required for meta-wolfssl to build cleanly on
this release:
conf/layer.conf:
- Add 'wrynose' to LAYERSERIES_COMPAT_wolfssl so bitbake accepts
the layer without a compatibility warning/error.
recipes-wolfssl/wolfssl/wolfssl_5.9.1.bb:
- Remove explicit 'S = "${WORKDIR}/git"'. wrynose bitbake.conf now
auto-derives S from the git fetcher using ${BP} as destsuffix;
setting it to ${WORKDIR}/git triggers a fatal QA error:
"Using S = ${WORKDIR} is no longer supported".
- Fix RPROVIDES_${PN} -> RPROVIDES:${PN}. The underscore-based
variable override syntax was removed in wrynose and causes a
parse failure.
inc/wolfcrypttest/wolfssl-enable-wolfcrypttest.inc:
inc/wolfcryptbenchmark/wolfssl-enable-wolfcryptbenchmark.inc:
- Add 'wrynose' to modern_series. Without this the version selector
falls back to the legacy .inc file which contains do_install_append()
syntax that bitbake rejects in wrynose.
recipes-examples/wolfcrypt/wolfcrypttest/wolfcrypttest.bb:
recipes-examples/wolfcrypt/wolfcryptbenchmark/wolfcryptbenchmark.bb:
- Change S from "${WORKDIR}/git/wolfcrypt/{test,benchmark}" to
"${UNPACKDIR}/${BP}/wolfcrypt/{test,benchmark}". In wrynose the
git fetcher default destsuffix changed from 'git' to '${BP}', so
the source tree lands at ${UNPACKDIR}/${BP}/ rather than
${WORKDIR}/git/. The old path causes do_populate_lic to fail with
"LIC_FILES_CHKSUM points to an invalid file".
Signed-off-by: Kamlesh Gurudasani <kamlesh@ti.com>1 parent a727d86 commit f304dfc
6 files changed
Lines changed: 6 additions & 8 deletions
File tree
- conf
- inc
- wolfcryptbenchmark
- wolfcrypttest
- recipes-examples/wolfcrypt
- wolfcryptbenchmark
- wolfcrypttest
- recipes-wolfssl/wolfssl
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
| |||
0 commit comments