meta-xilinx-standalone: recipes-libraries: xilstandalone: Cleanup the recipe
There is no need to create an additional task do_create_dtb.
script mentioned in the do_generte_bspcfg_data needs to be called
before do_configure(), we can use do_configure_prepend() instead of
adding own task.
This patch updates the recipe for the same.
@@ -5,17 +5,8 @@ ESW_COMPONENT_NAME = "libxilstandalone.a"
DEPENDS += "dtc-native python3-pyyaml-native libgloss device-tree"
-do_generate_bspcfg_data () {
+do_configure_prepend() {
# This script should also not rely on relative paths and such
cd ${S}
nativepython3 ${S}/scripts/generate_libdata.py -d ${DTBFILE}
}
-
-# Task dependencies might need to be fixed after unifying the DTB flow
-do_create_dtb(){
- :
-}
-
-addtask do_generate_bspcfg_data before do_configure after do_create_dtb
-
-addtask do_create_dtb before do_configure after do_prepare_recipe_sysroot
