aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-10-19 13:23:16 +0100
committerRon Yorston <rmy@pobox.com>2022-10-19 13:23:16 +0100
commit81d36c8a293192acb942878dd95a7d862fcbed19 (patch)
tree40e92bbb5943c22ef545b7d5848c20347384aae3 /miscutils
parent3c5b4335d36d2aaa5dadc82b004f43e5a18eddfa (diff)
downloadbusybox-w32-81d36c8a293192acb942878dd95a7d862fcbed19.tar.gz
busybox-w32-81d36c8a293192acb942878dd95a7d862fcbed19.tar.bz2
busybox-w32-81d36c8a293192acb942878dd95a7d862fcbed19.zip
make: .NOTPARALLEL and .WAIT are special targets
Austin Group defect report 1437 has been accepted. It describes the special targets .NOTPARALLEL and .WAIT which are used to influence the behaviour of parallel builds. Since parallel builds aren't implemented in here they actually don't 't have much effect. - For completeness they're flagged as special targets. - .WAIT should be allowed as a prerequisite.
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/make.c b/miscutils/make.c
index 431ac41d4..f50ffbbef 100644
--- a/miscutils/make.c
+++ b/miscutils/make.c
@@ -1358,6 +1358,8 @@ target_type(char *s)
1358 ".SILENT", 1358 ".SILENT",
1359 ".SUFFIXES", 1359 ".SUFFIXES",
1360 ".PHONY", 1360 ".PHONY",
1361 ".NOTPARALLEL",
1362 ".WAIT",
1361 }; 1363 };
1362 1364
1363 if (*s != '.') 1365 if (*s != '.')
@@ -1738,6 +1740,8 @@ input(FILE *fd, int ilevel)
1738 files = gd.gl_pathv; 1740 files = gd.gl_pathv;
1739 } 1741 }
1740 for (i = 0; i < nfile; ++i) { 1742 for (i = 0; i < nfile; ++i) {
1743 if (!posix && strcmp(files[i], ".WAIT") == 0)
1744 continue;
1741 np = newname(files[i]); 1745 np = newname(files[i]);
1742 newdep(&dp, np); 1746 newdep(&dp, np);
1743 } 1747 }