fix socfpga GEN5 handoff script path
Subsystems (3)
PATCH 1/1 fix socfpga GEN5 handoff script path
src variables not longer defined, fixed by srctree
Signed-off-by Brian Sune <[email protected]>
--- arch/arm/mach-socfpga/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-socfpga/config.mk +2 -2
@@ -23,7 +23,7 @@ socfpga_g5_handoff_prepare: if [ -z "$$VENDOR" ] || [ -z "$$BOARD" ]; then \ exit 0; \ fi; \ - BOARD_DIR=$(src)/board/$$VENDOR/$$BOARD; \ + BOARD_DIR=$(srctree)/board/$$VENDOR/$$BOARD; \ if [ "$$HANDOFF_PATH" ]; then \ echo "[INFO] Using manually specified handoff folder: $$HANDOFF_PATH"; \ else \
@@ -44,5 +44,5 @@ socfpga_g5_handoff_prepare: fi; \ echo "[INFO] Found hiof file: $$HIOF_FILE"; \ echo "[INFO] Running BSP generator..."; \ - python3 $(src)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \ + python3 $(srctree)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \ echo "[DONE] SoCFPGA QTS handoff conversion complete."
Signature · 1 line
2.34.1
Quoted 30 lines · Brian Sune
[CAUTION: This email is from outside your organization. Unless you trust the sender, do not click on links or open attachments as it may be a fraudulent email attempting to steal your information and/or compromise your computer.]
src variables not longer defined, fixed by srctree
Signed-off-by Brian Sune<[email protected]>--- arch/arm/mach-socfpga/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)arch/arm/mach-socfpga/config.mk +2
-3@@ -23,7 +23,7 @@ socfpga_g5_handoff_prepare: if [ -z "$$VENDOR" ] || [ -z "$$BOARD" ]; then \ exit 0; \ fi; \ - BOARD_DIR=$(src)/board/$$VENDOR/$$BOARD; \ + BOARD_DIR=$(srctree)/board/$$VENDOR/$$BOARD; \ if [ "$$HANDOFF_PATH" ]; then \ echo "[INFO] Using manually specified handoff folder: $$HANDOFF_PATH"; \ else \@@ -44,5 +44,5 @@ socfpga_g5_handoff_prepare: fi; \ echo "[INFO] Found hiof file: $$HIOF_FILE"; \ echo "[INFO] Running BSP generator..."; \ - python3 $(src)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \ + python3 $(srctree)/tools/cv_bsp_generator/cv_bsp_generator.py -i "$$HANDOFF_PATH" -o "$$BOARD_DIR/qts" || echo "[WARN] BSP generator failed, continuing..."; \ echo "[DONE] SoCFPGA QTS handoff conversion complete." --
Quoted 1 line
2.34.1