Need Atmega8 (8Mhz int) configuration for arduino?

I need Atmega8 bootloader with proper configuration for arduino 1.6.8 or higher.

Internal RC (8Mhz) oscillator and proper serial communication.

I want to bootload using my Arduino Uno as ISP (as I did for Atmega328-PU).

Note: The optiboot configuration for 28 pin cpus don't compile.

Ok solved it myself, from collecting scrap here and there. Standard optiboot dosen't seem to work.

Here is the attached bootloader and boards.txt for Atmega8L.
Extract it to hardware folder.

I am providing this if anyone needs this in future. (4.35 KB)