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)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 16 Jun 2025 13:35:49 +0000 (15:35 +0200)
commita4f56aca810c80803b85c996e0b7decfb2eeb6b4
tree78ddd6821021cac73cddae1ecdad497a5b62c083
parent926314ab12e4858477b35d152157339e9038dee6
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>
cherry picked from commit 06c4e8a262e4618e61866ed92e296e46a1b6b671
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/19076
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
include/trusted-firmware-a.mk