From f24875a30fd675ea34ea045f696bbfac1b680103 Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Mon, 7 Jun 2021 18:20:59 -0700 Subject: ospipsv: Generate xparameters.h file as part of configure Signed-off-by: Mark Hatle --- meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb index 3266f05f..702cbd05 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/ospipsv_git.bb @@ -11,3 +11,9 @@ ESW_COMPONENT_NAME = "libospipsv.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.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} + install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ +} + -- cgit v1.2.3-54-g00ecf