diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb')
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb new file mode 100644 index 00000000..932be9eb --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartps_git.bb @@ -0,0 +1,16 @@ +inherit features_check + +REQUIRED_MACHINE_FEATURES = "uartps" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartps/src/" +ESW_COMPONENT_NAME = "libuartps.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 xuartps_g.c ${S}/${ESW_COMPONENT_SRC}/ +} |