aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/optee/optee-os_git.bbappend
blob: 9dbdfc52702a7e7c169219ae8c476df7b1cf5c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
inherit pythonnative
DEPENDS += " python-pycrypto-native"

#Need for gcc 6.2
CFLAGS += " -fno-strict-aliasing -Wno-unused-variable -Wno-shift-negative-value -Wno-implicit-fallthrough"

SRC_URI_append = " \
    file://default_bold.c \
    file://default_bold.h \
    file://default_regular.c \
    file://default_regular.h \
    file://0001-Remove-the-file-generation-and-directly-copy-the-fil.patch \
    "


do_compile_prepend() {
    GENDIRECTORY=${S}/lib/libutee/tui/fonts/amble/
    cp ${WORKDIR}/default_bold.c ${GENDIRECTORY}
    cp ${WORKDIR}/default_bold.h ${GENDIRECTORY}
    cp ${WORKDIR}/default_regular.c ${GENDIRECTORY}
    cp ${WORKDIR}/default_regular.h ${GENDIRECTORY}
}