meta-zephyr-sdk: Fix expat source URI

This commit updates the source URI for the expat component by
overriding the SRC_URI variable specified in the meta layer.

Note that the old mirror specified in the meta layer is no longer
available and has officially been relocated to GitHub [1].

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>

[1] https://github.com/libexpat/libexpat
This commit is contained in:
Stephanos Ioannidis 2022-02-23 03:23:22 +09:00 committed by Anas Nashif
parent eaca8bd65e
commit de9b29b446
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
# Override the source URL for expat since the old mirror specified in the meta
# layer is no longer available.
VERSION_TAG = "${@d.getVar('PV').replace('.', '_')}"
SRC_URI_prepend = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TAG}/expat-${PV}.tar.bz2 "