Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | LICENSE = "Apache-2.0 & BSD-3-Clause & Zlib" |
| 2 | LIC_FILES_CHKSUM = "file://license.rst;md5=ea160bac7f690a069c608516b17997f4" |
| 3 | |
| 4 | SRC_URI = "git://git.trustedfirmware.org/TS/trusted-services.git;protocol=https;branch=integration;name=ts;destsuffix=git/ts" |
| 5 | |
| 6 | SRCREV_ts ?= "a365a04f937b9b76ebb2e0eeade226f208cbc0d2" |
| 7 | |
| 8 | S = "${WORKDIR}/git/ts" |
| 9 | B = "${WORKDIR}/build" |
| 10 | |
| 11 | export CROSS_COMPILE="${TARGET_PREFIX}" |
| 12 | |
| 13 | CFLAGS[unexport] = "1" |
| 14 | CPPFLAGS[unexport] = "1" |
| 15 | AS[unexport] = "1" |
| 16 | LD[unexport] = "1" |
| 17 | |
| 18 | # setting the linker options used to build the secure partitions |
| 19 | SECURITY_LDFLAGS = "" |
| 20 | TARGET_LDFLAGS = "-Wl,--build-id=none -Wl,--hash-style=both" |
| 21 | |
| 22 | do_configure[cleandirs] = "${B}" |
| 23 | |
| 24 | # Currently trusted-services and psa-arch-tests use FetchContent to download |
| 25 | # more sources during do_configure. Until this is resolved we need to allow |
| 26 | # network operations. |
| 27 | do_configure[network] = "1" |