]> git.ipfire.org Git - thirdparty/openwrt.git/commit
include/trusted-firmware-a.mk: support LTS releases
authorStijn Tintel <stijn@linux-ipv6.be>
Mon, 24 Mar 2025 22:20:32 +0000 (00:20 +0200)
committerStijn Tintel <stijn@linux-ipv6.be>
Sun, 6 Apr 2025 11:21:07 +0000 (14:21 +0300)
commit06c4e8a262e4618e61866ed92e296e46a1b6b671
tree835885710f0e2069677fa4992d244b5277fa5c3f
parentaedd5b92785a1e2c15b6686298e42f62fe1bcac0
include/trusted-firmware-a.mk: support LTS releases

TF-A LTS releases have an lts- prefix in their version tag. Introduce a
PKG_LTS variable to support these.

As the non-LTS tarbals do not contain the version prefix in the
directory, we need different PKG_BUILD_DIR for each variant:

➜ tar --list --file dl/trusted-firmware-a-v2.12.tar.gz  | head -n1
trusted-firmware-a-2.12/
➜ tar --list --file dl/trusted-firmware-a-lts-v2.12.1.tar.gz  | head -n1
trusted-firmware-a-lts-v2.12.1/

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
include/trusted-firmware-a.mk