On Thu, Nov 13, 2014 at 11:54 PM, Christos Zoulas <chris...@zoulas.com> wrote: > Any solution that involves hard-coding the currently used linksets by > name is no solution for me. Please come up with a complete solution, > and present it for discussion. Yes, the current script is a hack, but > it is a hack we've been using for a while successfully.
I would not call it "hard-coding"; link-sets are well-known. All the used link-sets are known before building. I'd detect unknown link-set sections and make that build fail. This is more strict. I'd also provide a way to declare extra link-set for 3rd party modules.