aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb
blob: d88ac592a6f0a6bf1383557db65cd6148e34ebae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
inherit features_check

REQUIRED_MACHINE_FEATURES = "v-frmbuf-wr"

inherit esw python3native

DEPENDS += "xilstandalone video-common"

ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/"
ESW_COMPONENT_NAME = "libv_frmbuf_wr.a"

do_configure:prepend() {
    LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC}
    install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/
    install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/
}