Help building FPV OSD for Jetson Nano Drone

Not sure if anyone can help me out here but I am trying to build the wifibroadcast osd for the Nvidia jetson nano. The code is based off building on Rasberry PI so the LDFLAGS and CFLAGS need the correct specification for Jetson platforms. If anyone can point me in the correct direction for building the code on Jetson I would be extremely grateful!

PI specific:

It would need other users to share experience on this.

Besides, you probably can achieve the same function in using RTSP. Please refer to

Please note nvcamerasrc and omx plugins are deprecated. you may use nvarguscamerasrc and v4l2 plugins.