summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb
blob: 8e64457e727cc924489d6286d39e3a4b5152a5db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
inherit features_check
  
REQUIRED_DISTRO_FEATURES = "uartns550"

inherit esw python3native

DEPENDS += "xilstandalone "

ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/"
ESW_COMPONENT_NAME = "libuartns550.a"

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