summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-libraries/xilmailbox_git.bb
blob: 77115515a6ffb5f9c2d31f2e588d6ef1342ec97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
inherit esw

ESW_COMPONENT_SRC = "/lib/sw_services/xilmailbox/src/"
ESW_COMPONENT_NAME = "libxilmailbox.a"

DEPENDS += "xilstandalone libxil xiltimer"

do_configure:prepend() {
    # This script should also not rely on relative paths and such
    (
    cd ${S}
    lopper ${DTS_FILE} -- bmcmake_metadata_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} hwcmake_metadata ${S}
    install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
    )
}