[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building loadables depends on main build
From: |
Christian Weisgerber |
Subject: |
Building loadables depends on main build |
Date: |
Sun, 7 May 2023 22:10:29 +0200 |
Building the loadable modules depends on files created during the
main build. However, the Makefile doesn't record any such dependency.
Running for instance "make -j10 all loadables" will fail due to a
lack of enforced sequencing.
A straightforward fix would be to make the "loadables" target depend
on ".made":
--- Makefile.in.orig
+++ Makefile.in
@@ -803,7 +803,7 @@ $(srcdir)/configure: $(srcdir)/configure.ac
$(srcdir)/
reconfig: force
sh $(srcdir)/configure -C
-loadables:
+loadables: .made
cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) all
#newversion: mkversion
--
Christian "naddy" Weisgerber naddy@mips.inka.de
- Building loadables depends on main build,
Christian Weisgerber <=