diff options
author | Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> | 2021-07-20 17:08:35 +0530 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-28 08:20:16 -0700 |
commit | 644cd0c164bf1fc65e3d2419efc3f5b6d641ae6d (patch) | |
tree | 68646c559e4d84d4c01a4684251abbc249a5fafe /meta-xilinx-standalone-experimental/recipes-drivers | |
parent | 65e52597c5afb46a9f866f352dd86e3388f43b0e (diff) | |
download | meta-xilinx-644cd0c164bf1fc65e3d2419efc3f5b6d641ae6d.tar.gz |
meta-xilinx-standalone-experimental: recipes-drivers: uart*: Update do_configure_prepend task
uartlite and uartns550 driver recipes need to send additional
parameter for lopper assist, This commit updates the
do_configure_prepend task for this.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers')
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb | 7 | ||||
-rw-r--r-- | meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb | 8 |
2 files changed, 10 insertions, 5 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb index 8ff68556..a686b857 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartlite_git.bb | |||
@@ -9,5 +9,8 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartlite/src/" |
10 | ESW_COMPONENT_NAME = "libuartlite.a" | 10 | ESW_COMPONENT_NAME = "libuartlite.a" |
11 | 11 | ||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | 12 | do_configure_prepend() { |
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | ||
15 | install -m 0755 xuartlite_g.c ${S}/${ESW_COMPONENT_SRC} | ||
16 | } | ||
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb index 3dbbbdc9..42b2bd39 100644 --- a/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/uartns550_git.bb | |||
@@ -9,6 +9,8 @@ DEPENDS += "xilstandalone " | |||
9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/uartns550/src/" |
10 | ESW_COMPONENT_NAME = "libuartns550.a" | 10 | ESW_COMPONENT_NAME = "libuartns550.a" |
11 | 11 | ||
12 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot | 12 | do_configure_prepend() { |
13 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" | 13 | LOPPER_DTC_FLAGS="-b 0 -@" lopper.py ${DTS_FILE} -- baremetalconfig_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} stdin |
14 | 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC} | |
15 | install -m 0755 xuartns550_g.c ${S}/${ESW_COMPONENT_SRC} | ||
16 | } | ||