From a0ff9b1f276979e2b6127828235d02aa873eff60 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 24 May 2023 10:32:39 -0600 Subject: meta-xilinx-standalone-experimental: dmaps: Update recipe to fix dependency loop The recipe has not been updated since originally created. This was triggering a dependency loop since it has not been updated to the current format. Signed-off-by: Mark Hatle --- .../recipes-drivers/dmaps_git.bb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'meta-xilinx-standalone-experimental/recipes-drivers') diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb index 0891fb86..1dcd8404 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/dmaps_git.bb @@ -1,3 +1,18 @@ -inherit esw_examples +inherit features_check -ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/examples/" +REQUIRED_MACHINE_FEATURES = "dmaps" + +inherit esw python3native + +DEPENDS += "xilstandalone " + +ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/dmaps/src/" +ESW_COMPONENT_NAME = "libdmaps.a" + +addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot +do_prepare_recipe_sysroot[rdeptask] = "do_unpack" + +do_configure:prepend() { + LOPPER_DTC_FLAGS="-b 0 -@" lopper ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} + install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ +} -- cgit v1.2.3-54-g00ecf