From 679a0ec01552a0397091db7827bb09d5030c3d14 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 11 Feb 2025 23:23:02 -0800 Subject: [PATCH] Add separate jlcpcba target to include the BOM Return the jlcpcb target to just providing the PCB files. The new jlcpcba file also includes the BOM. Signed-off-by: Keith Packard --- pcb-rnd.mk | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pcb-rnd.mk b/pcb-rnd.mk index e61aa46..d62670b 100644 --- a/pcb-rnd.mk +++ b/pcb-rnd.mk @@ -98,7 +98,14 @@ $(PROJECT)-seeed.zip: $(PROJECT).lht $(CONFIG) $(PROJECT)-sch.pdf $(SEEED_EXTRA) jlcpcb: $(PROJECT)-jlcpcb.zip -$(PROJECT)-jlcpcb.zip: $(PROJECT).lht $(CONFIG) $(PROJECT)-jlcpcb.csv +$(PROJECT)-jlcpcb.zip: $(PROJECT).lht $(CONFIG) + pcb-rnd -x cam gerber:JLC_PCB --outfile out/$(PROJECT) $(PROJECT).lht + $(call emit_xyrs) + rm -f $@ && zip -j $@ out/* $(PROJECT).xy + +jlcpcba: $(PROJECT)-jlcpcba.zip + +$(PROJECT)-jlcpcba.zip: $(PROJECT).lht $(CONFIG) $(PROJECT)-jlcpcb.csv pcb-rnd -x cam gerber:JLC_PCB --outfile out/$(PROJECT) $(PROJECT).lht $(call emit_xyrs) rm -f $@ && zip -j $@ out/* $(PROJECT).xy $(PROJECT)-jlcpcb.csv -- 2.47.2