Accidentally sent this directly to Andy instead of the mailing list.. Yes, SUBDIRS was deprecated a long time ago and then eventually removed, in favor of M. The fix I made before was so 5.4 builds would work, however that was only for the classic ./configure ; make method. Using M=$(PWD) doesn't work for building debs, and using M=$(PWD)/src doesn't work for ./configure ; make
M=$(BASEPWD) satisfies both. I published a commit in my previous email that fixes the build however it's based off of master, not 2.9. The commit itself will merge into both branches but it'd have to be cherry-picked. My fork of LinuxCNC only has master, and I already have a PR submitted from awhile ago. I'd have to delete my fork I think and start over for me to do it right.. In case you missed it: https://github.com/NTULINUX/linuxcnc-rtai-gnu11/commit/e8ece4358c5d90b3b64ce43f23522b55de16518f Alec On Monday, October 23, 2023 at 06:09:37 AM CDT, andy pugh <bodge...@gmail.com> wrote: On Mon, 23 Oct 2023 at 09:08, andy pugh <bodge...@gmail.com> wrote: > > > As for the failing modules, the problem is that when you build LinuxCNC > > Debian packages, you're in the top directory of LinuxCNC, _not_ the src > > directory. In linuxcnc/src/Makefile, the value of M is $(PWD) however when > > you build Debian packages, this value now needs to be M="$(PWD)/src" > > > > How to conditionally set M=$(PWD) vs. M=$(PWD)/src depending on whether > > building a Debian package or not is beyond me, but that's the issue. After a but of digging, this was last changed by you: https://github.com/LinuxCNC/linuxcnc/commit/9695eb6b1104a54c9087947acd27f76dbb63be9d All changes prior to that date from when RTAI was the only game in town, so presumably worked then https://github.com/LinuxCNC/linuxcnc/commit/fc949aa523f9ede1d7c059fa00171691c8cafe1f -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers