<commit_before>DESCRIPTION = "OP-TEE OS"
LICENSE = "BSD-2-Clause & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b \
                    file://lib/libpng/LICENSE;md5=06a1b6fde6d93170bb72201c8000bf3d \
"

DEPENDS = "python-pycrypto-native"
inherit deploy pythonnative

PACKAGE_ARCH = "${MACHINE_ARCH}"

S = "${WORKDIR}/git"

BRANCH = "master"
SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=${BRANCH}"
SRCREV = "f06bddf5c0bc9be8013820e86523793c44930148"

SRC_URI += " \
    file://0001-add-optee_os-R-Car-support.patch \
"

PV = "1.0.0+renesas+git${SRCPV}"

COMPATIBLE_MACHINE = "(salvator-x|h3ulcb|m3ulcb)"
PLATFORM = "rcar"

export CROSS_COMPILE64="${TARGET_PREFIX}"

# Let the Makefile handle setting up the flags as it is a standalone application
LD[unexport] = "1"
LDFLAGS[unexport] = "1"
export CCcore="${CC}"
export LDcore="${LD}"
libdir[unexport] = "1"

do_compile() {
    oe_runmake PLATFORM=${PLATFORM} CFG_ARM64_core=y
}

# do_install() nothing<commit_msg>Revert "optee_os: Fix build dependencies"<commit_after>DESCRIPTION = "OP-TEE OS"

LICENSE = "BSD-2-Clause & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=69663ab153298557a59c67a60a743e5b \
                    file://lib/libpng/LICENSE;md5=06a1b6fde6d93170bb72201c8000bf3d \
"

PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit deploy

S = "${WORKDIR}/git"

BRANCH = "master"
SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=${BRANCH}"
SRCREV = "f06bddf5c0bc9be8013820e86523793c44930148"

SRC_URI += " \
    file://0001-add-optee_os-R-Car-support.patch \
"

PV = "1.0.0+renesas+git${SRCPV}"

COMPATIBLE_MACHINE = "(salvator-x|h3ulcb|m3ulcb)"
PLATFORM = "rcar"

export CROSS_COMPILE64="${TARGET_PREFIX}"

# Let the Makefile handle setting up the flags as it is a standalone application
LD[unexport] = "1"
LDFLAGS[unexport] = "1"
export CCcore="${CC}"
export LDcore="${LD}"
libdir[unexport] = "1"

do_compile() {
    oe_runmake PLATFORM=${PLATFORM} CFG_ARM64_core=y
}

# do_install() nothing
{'fraction_non_alphanumeric': 0.15261845386533665, 'fraction_numerical': 0.09177057356608478, 'mean_word_length': 5.042168674698795, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5556241', 'n_tokens_mistral': 949, 'n_tokens_neox': 858, 'n_words': 128}