How to change Vendor/Product ID when compiling bootloaders

I'd start with the firmware in the official Arduino Core itself: