diff options
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb')
| -rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb index cba4543c..dde6ee47 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/sdps_git.bb | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | inherit esw_examples | 1 | inherit features_check |
| 2 | 2 | ||
| 3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/examples/" | 3 | REQUIRED_DISTRO_FEATURES = "sdps" |
| 4 | |||
| 5 | inherit esw python3native | ||
| 6 | |||
| 7 | DEPENDS += "xilstandalone xilmem" | ||
| 8 | |||
| 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/sdps/src/" | ||
| 10 | ESW_COMPONENT_NAME = "libsdps.a" | ||
| 11 | |||
| 12 | do_configure_prepend() { | ||
| 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetal_xparameters_xlnx.py ${ESW_MACHINE} ${S} | ||
| 14 | install -m 0755 xparameters.h ${S}/${ESW_COMPONENT_SRC}/ | ||
| 15 | } | ||
| 16 | |||
| 17 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
| 18 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
