Re-compile the PL kernets targeting the custom platform using the command below:
make kernels TARGET=hw
or
v++ -c --mode hls --platform $PLATFORM_REPO_PATHS/vck190_custom.xpfm --config pl_kernels/s2mm.cfg
v++ -c --mode hls --platform $PLATFORM_REPO_PATHS/vck190_custom.xpfm --config pl_kernels/mm2s.cfg