From ac0516ce7916796fbde8a20db8c179b77dc92bdc Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Tue, 16 Mar 2021 14:02:00 -0700 Subject: 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 --- .../recipes-drivers/csudma_git.bb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb') diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb index f505a8af..c5e83b67 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/csudma_git.bb @@ -1,3 +1,18 @@ -inherit esw_examples +inherit features_check -ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/examples/" +REQUIRED_DISTRO_FEATURES = "csudma" + +inherit esw python3native + +DEPENDS += "xilstandalone xilmem" + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/csudma/src/" +ESW_COMPONENT_NAME = "libcsudma.a" + +do_configure_prepend() { + LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} + install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ +} + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" -- cgit v1.2.3-54-g00ecf