Delete Airframes from Firmware

Hi,
I wanted to delete extra airframes which come as options like quad, tri, bicopter, y6 etc.

I want only Quad X should be in the list.

Can someone help ??

yes, use custom.ardupilot.org to do that.

Can you please explain me the process in brief.
Currently, I cloned the github repo and built a signed firmware for copter. Now I have to fix the airframe too, instead of so many airframe options I just want quad X to come in list.

What is your intent ?
Do you want to decrease the size of the firmware ?
Or do you want to decrease the number of choices during setup ?

If the first, then use custom firmware builder as mentioned above and then sign that fw.
if the latter, then you have to modify your GCS software which offers the choices.