diff options
Diffstat (limited to 'meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb')
-rw-r--r-- | meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb new file mode 100644 index 00000000..01e48caa --- /dev/null +++ b/meta-xilinx-standalone-sdt/recipes-drivers/uartpsv_2024.2.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | inherit features_check | ||
2 | |||
3 | REQUIRED_MACHINE_FEATURES = "uartpsv" | ||
4 | |||
5 | inherit esw python3native | ||
6 | |||
7 | DEPENDS += "xilstandalone " | ||
8 | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/" | ||
10 | ESW_COMPONENT_NAME = "libuartpsv.a" | ||
11 | |||
12 | do_configure:prepend() { | ||
13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin | ||
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
15 | install -m 0755 xuartpsv_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
16 | } | ||