Making DIY “Arduino”

What do you mean? The bootloader doesn't need to 'recognize' anything. You install the bootloader written for the chip.

Have you found an Arduino core already written for the ATmega32(L)?