diff options
| author | Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com> | 2021-04-09 10:41:29 +0530 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2021-09-27 21:33:21 -0700 |
| commit | 49c467e7e7420bd241da67df631051ba84951b35 (patch) | |
| tree | 2cc656c91bd86a54f20e10da40284c1e117b3aca /meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb | |
| parent | ef01c1c5065808501a00216a22d5060538e6c032 (diff) | |
| download | meta-xilinx-49c467e7e7420bd241da67df631051ba84951b35.tar.gz | |
meta-xilinx-standalone-experimental: recipes-drivers: v-frmbuf-*: Add task for generating _g.c file
For v-frmbuf-* driver _g.c file name is different from the regular
drivers If we use do_generate_driver_data _g.c file is not getting
copied to source folder, So add own do_configure_prepend task instead
of using do_generate_driver_data task.
Signed-off-by: Appana Durga Kedareswara rao <appana.durga.rao@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb')
| -rwxr-xr-x | meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb index 375f00eb..05f92ea3 100755 --- a/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb +++ b/meta-xilinx-standalone-experimental/recipes-drivers/v-frmbuf-wr_git.bb | |||
| @@ -9,5 +9,8 @@ DEPENDS += "xilstandalone video-common" | |||
| 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" | 9 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/v_frmbuf_wr/src/" |
| 10 | ESW_COMPONENT_NAME = "libv_frmbuf_wr.a" | 10 | ESW_COMPONENT_NAME = "libv_frmbuf_wr.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} |
| 14 | install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ | ||
| 15 | install -m 0755 xv_frmbufwr_g.c ${S}/${ESW_COMPONENT_SRC}/ | ||
| 16 | } | ||
