diff options
| -rw-r--r-- | meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc index a68c597f..6638c9e5 100644 --- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc +++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-spl-zynq-init.inc | |||
| @@ -6,7 +6,7 @@ PLATFORM_BOARD_DIR ?= "" | |||
| 6 | PLATFORM_BOARD_DIR:zynq = "board/xilinx/zynq" | 6 | PLATFORM_BOARD_DIR:zynq = "board/xilinx/zynq" |
| 7 | PLATFORM_BOARD_DIR:zynqmp = "board/xilinx/zynqmp" | 7 | PLATFORM_BOARD_DIR:zynqmp = "board/xilinx/zynqmp" |
| 8 | 8 | ||
| 9 | do:zynq_platform_init() { | 9 | do_zynq_platform_init() { |
| 10 | for f in ${PLATFORM_INIT_FILES}; do | 10 | for f in ${PLATFORM_INIT_FILES}; do |
| 11 | if [ -d "${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform" ]; then | 11 | if [ -d "${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform" ]; then |
| 12 | cp ${PLATFORM_INIT_STAGE_DIR}/$f ${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform/ | 12 | cp ${PLATFORM_INIT_STAGE_DIR}/$f ${S}/${PLATFORM_BOARD_DIR}/custom_hw_platform/ |
| @@ -48,7 +48,7 @@ python () { | |||
| 48 | # force the dependency on a recipe that provides the platform init files | 48 | # force the dependency on a recipe that provides the platform init files |
| 49 | d.appendVar("DEPENDS", " virtual/xilinx-platform-init") | 49 | d.appendVar("DEPENDS", " virtual/xilinx-platform-init") |
| 50 | # setup task to modify platform init after unpack and prepare_recipe_sysroot, and before configure | 50 | # setup task to modify platform init after unpack and prepare_recipe_sysroot, and before configure |
| 51 | bb.build.addtask("do:zynq_platform_init", "do_configure", "do_unpack do_prepare_recipe_sysroot", d) | 51 | bb.build.addtask("do_zynq_platform_init", "do_configure", "do_unpack do_prepare_recipe_sysroot", d) |
| 52 | 52 | ||
| 53 | if "boot.bin" not in d.getVar("SPL_BINARY"): | 53 | if "boot.bin" not in d.getVar("SPL_BINARY"): |
| 54 | # not deploying the boot.bin, just building SPL | 54 | # not deploying the boot.bin, just building SPL |
