summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@xilinx.com>2021-03-16 14:02:00 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2021-09-27 21:30:10 -0700
commitac0516ce7916796fbde8a20db8c179b77dc92bdc (patch)
tree00e54739768b100f129500eab217f26dce74d4d0 /meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
parent58c8191477d70802bf0a88180a0f731f8179731f (diff)
downloadmeta-xilinx-ac0516ce7916796fbde8a20db8c179b77dc92bdc.tar.gz
meta-xilinx-standalone-experimental: Adjust to match recent changes
Changes to meta-xilinx-standalone, as well as the embeddedsw require various changes to be made. This brings the implementation up to the current level. Note: various things do not yet compile! Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb')
-rw-r--r--meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
new file mode 100644
index 00000000..7ceca4e5
--- /dev/null
+++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartpsv_git.bb
@@ -0,0 +1,16 @@
1inherit features_check
2
3REQUIRED_DISTRO_FEATURES = "uartpsv"
4
5inherit esw python3native
6
7DEPENDS += "xilstandalone xilmem"
8
9ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartpsv/src/"
10ESW_COMPONENT_NAME = "libuartpsv.a"
11
12do_configure_prepend() {
13 LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${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}