Build Smoothieware with Config.txt embedded

Hi All
How can I build the firmware including the “config.txt”?
So I am sure the customers are not messing with the board.
Can I then use the micro SD card for store the G.code files as the main SD-Card?
I am not using the RepRap panel anymore
Thanks
Regards

Imported from wikidot

Just edit the “config.default” file in the source, compile, flash, and it’ll use that file instead of the SD card.