diff options
| -rw-r--r-- | meta-xilinx-standalone/recipes-libraries/libxil_git.bb | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/meta-xilinx-standalone/recipes-libraries/libxil_git.bb b/meta-xilinx-standalone/recipes-libraries/libxil_git.bb index a455c384..49437a9b 100644 --- a/meta-xilinx-standalone/recipes-libraries/libxil_git.bb +++ b/meta-xilinx-standalone/recipes-libraries/libxil_git.bb | |||
| @@ -3,9 +3,9 @@ inherit esw python3native | |||
| 3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" | 3 | ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/" |
| 4 | ESW_COMPONENT_NAME = "libxil.a" | 4 | ESW_COMPONENT_NAME = "libxil.a" |
| 5 | 5 | ||
| 6 | DEPENDS += "dtc-native python3-pyyaml-native xilmem device-tree" | 6 | DEPENDS += "dtc-native python3-pyyaml-native xilstandalone xilmem device-tree" |
| 7 | 7 | ||
| 8 | do_generate_cmake (){ | 8 | do_configure_prepend() { |
| 9 | # This will generate CMakeLists.txt which contains | 9 | # This will generate CMakeLists.txt which contains |
| 10 | # drivers for the libxil | 10 | # drivers for the libxil |
| 11 | cd ${S} | 11 | cd ${S} |
| @@ -16,19 +16,12 @@ do_generate_cmake (){ | |||
| 16 | # everything in libxil, which is undesired. | 16 | # everything in libxil, which is undesired. |
| 17 | DRIVERS_LIST=$(nativepython3 ${S}/scripts/getdrvlist.py -d ${DTBFILE}) | 17 | DRIVERS_LIST=$(nativepython3 ${S}/scripts/getdrvlist.py -d ${DTBFILE}) |
| 18 | } | 18 | } |
| 19 | do_generate_driver_data (){ | 19 | |
| 20 | do_generate_driver_data() { | ||
| 20 | # This script should also not rely on relative paths and such | 21 | # This script should also not rely on relative paths and such |
| 21 | cd ${S} | 22 | cd ${S} |
| 22 | nativepython3 ${S}/scripts/generate_drvdata.py -d ${DTBFILE} | 23 | nativepython3 ${S}/scripts/generate_drvdata.py -d ${DTBFILE} |
| 23 | } | 24 | } |
| 24 | 25 | ||
| 25 | # Task dependencies might need to be fixed after unifying the DTB flow | 26 | addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot |
| 26 | do_create_dtb(){ | 27 | do_prepare_recipe_sysroot[rdeptask] = "do_unpack" |
| 27 | : | ||
| 28 | } | ||
| 29 | |||
| 30 | addtask do_generate_cmake before do_configure after do_create_dtb | ||
| 31 | |||
| 32 | addtask do_generate_driver_data before do_compile after do_create_dtb | ||
| 33 | |||
| 34 | addtask do_create_dtb before do_compile after do_prepare_recipe_sysroot | ||
