After making the necessary environment changes, re-compile the ADF graph targeting the custom platform using the command below:
make aie TARGET=hw
or
v++ -c --mode aie --target hw --platform $PLATFORM_REPO_PATHS/vck190_custom.xpfm --include "$XILINX_VITIS/aietools/include" --include "./aie" --include "./data" --include "./aie/kernels" --include "./" -work_dir=./Work aie/graph.cpp`