Other than a smaller exe size, there's no real benefit to removing drivers from mame. It's a fairly pointless exercise.
I want to be able to manage the insanity that is the 44,000 games and the crazy amount of roms that each of those want.
Once I built the arcade.flt file to my liking (with only the drivers I want, and the remarks for the specific roms that the drivers build that I don't want, I was done.
I can build a 0.220 with just the lightgun games for my Linux box, and when .339 comes out that fixes something in that list, I can just build the .flt file on that source and out pops my custom binary that will tell me exactly what roms my list is missing for the new build.
For me it makes it more manageable, and when I use a rom manager or a list generator against a custom binary, it only spits out the list I want. No broken, no clones unless they are US and then no parent if I want to use the clone. I can build my non-merged rom set without it becoming insane in size.
My XML file is 900k not 250,000k like a full mame build would be.
When I run -verifyroms, my list is manageable and easy to resolve.
I didn't need a full new version of MAME and all the issues that come with it, I just need something I can throw lightgun games at now that I can use both my Aimtraks in Linux.
I attached the custom build list (remove the .txt off the name) so that anyone else that wants to make custom builds can see a working example. Or they can use it to build a lightgun only mame 0.220 build. Whatever.
It goes in the source folder under "mame0220s\src\mame" and has the build command for a quad core at the top.