www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2021/07/02/05:13:02

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7+dev
X-Exmh-Isig-CompType: repl
X-Exmh-Isig-Folder: geda
From: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Mail-Followup-To: geda-user AT delorie DOT com
Subject: Re: [geda-user] how to find sch-sym depenencies for Makefile
In-reply-to: <20210701194709.71A7183D521B@turkos.aspodata.se>
References: <20210701152018 DOT F248283D521B AT turkos DOT aspodata DOT se> <YN38OhSVu4qv1JVn AT lepton> <20210701191027 DOT 61B3983D521B AT turkos DOT aspodata DOT se> <20210701194709 DOT 71A7183D521B AT turkos DOT aspodata DOT se>
Comments: In-reply-to "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
message dated "Thu, 01 Jul 2021 21:47:09 +0200."
Mime-Version: 1.0
Message-Id: <20210702091136.0313983D521E@turkos.aspodata.se>
Date: Fri, 2 Jul 2021 11:11:35 +0200 (CEST)
X-Virus-Scanned: ClamAV using ClamSMTP
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Karl:
> Karl:
> > Vladimir:
> ...
> > > An attached first draft patch for makedepend backend does the job
> > ...
> > > lepton-netlist -f utils/netlist/scheme/backend/gnet-makedepend.scm \
> > >   -o output utils/netlist/tests/hierarchy.sch
> > 
> > Nice! It do contain duplicates, but I can handle that, thanks.
...
> Ok, bugreport...
> If I: mv res_v.sym zz
> it seems to crash.
...

 given:
$ cat top3.sch
v 20210626 2
C 3200 12000 1 0 0 source.sym
{
T 3400 13400 5 12 1 1 0 0 1
source=smarc_iMX8MM_power_connection.sch
T 3300 12100 5 10 1 0 0 0 1
refdes=_
}

$ lepton-netlist -g makedepend -o makedep.txt top3.sch 
...

Gives me:

$ cat makedep.txt 
all: top3.cir
top3.cir: top3.sch smarc_iMX8MM_power_connection.cir
smarc_iMX8MM_power_connection.cir: smarc_iMX8MM_power_connection.sch
top3.sch: /home/karl/git/openhw/share/gschem/_graphical/source.sym
smarc_iMX8MM_power_connection.sch: /home/karl/git/openhw/share/gschem/_graphical/A4liggande_s2.sym /home/karl/git/openhw/share/gschem/_module/smarc_iMX8MM.pwr.sym /home/karl/git/openhw/share/gschem/_graphical/net_power.sym /home/karl/git/openhw/share/gschem/_graphical/net_gnd.sym /home/karl/git/openhw/share/gschem/_graphical/net_gnd.sym /home/karl/git/openhw/share/gschem/_discrete/cap_v.sym
$

I.e. it says that top3.sch only depends on source.sym.
That would be true if I wanted a printout of the schematic,
but if I wanted a netlist of the design, then top3.sch would also
depend on the thing on the source=... line.

Regards,
/Karl Hammar


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019