Comment 0 for bug 897661

Revision history for this message
Peter TB Brett (peter-b) wrote : --m4-file argument to gsch2pcb does nothing

The '--m4-file FILE' option to gsch2pcb is supposed to "use" the specified M4 source FILE when the gsch2pcb backend generates footprints using M4.

gsch2pcb generates a snippet of Scheme code which is evaluated by gnetlist between loading the gsch2pcb gnetlist backend and running it. The generated snippet contains a line which looks like:

(define m4-files STRING)

where STRING is a space-separated list of M4 filenames. However, the gsch2pcb gnetlist backend never uses the m4-files variable. This was broken in commit 6d935086d299.