diff options
| author | Raviteja Narayanam <raviteja.narayanam@xilinx.com> | 2021-06-16 19:55:02 +0530 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-27 21:34:42 -0700 |
| commit | 08785833833a22965c8751e7b4da8dfd311fbd70 (patch) | |
| tree | aed70a0dbc748d3f360b5b0edf4eacd2da1a0ee4 /meta-xilinx-standalone-experimental/recipes-drivers | |
| parent | 9acae22a0930ca006afa5b7fff44c0752071cc8f (diff) | |
| download | meta-xilinx-08785833833a22965c8751e7b4da8dfd311fbd70.tar.gz | |
meta-xilinx-standalone-experimental: recipes-drivers: uartns550: Add recipe for driver and examples
Signed-off-by: Raviteja Narayanam <raviteja.narayanam@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers')
| -rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb | 6 | ||||
| -rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb new file mode 100644 index 00000000..2e98c9f9 --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550-example_git.bb | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | inherit esw_examples features_check | ||
| 2 | |||
| 3 | REQUIRED_DISTRO_FEATURES = "uartns550" | ||
| 4 | |||
| 5 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/examples/" | ||
| 6 | |||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb new file mode 100644 index 00000000..3dbbbdc9 --- /dev/null +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | inherit features_check | ||
| 2 | |||
| 3 | REQUIRED_DISTRO_FEATURES = "uartns550" | ||
| 4 | |||
| 5 | inherit esw python3native | ||
| 6 | |||
| 7 | DEPENDS += "xilstandalone " | ||
| 8 | |||
| 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" | ||
| 10 | ESW_COMPONENT_NAME = "libuartns550.a" | ||
| 11 | |||
| 12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | ||
| 13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | ||
| 14 | |||
