diff options
author | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-02-25 21:19:31 +0100 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@free.fr> | 2013-02-25 21:19:31 +0100 |
commit | 3342dd74da7ba3708d4339b9e42b495daf59cf5c (patch) | |
tree | 7e5fa967e092c584ed465497c097c4cefe36b8e8 /Makefile.in | |
parent | cfcaf42076aad1236814c5b3a516edcf4ff75829 (diff) | |
download | crosstool-ng-3342dd74da7ba3708d4339b9e42b495daf59cf5c.tar.gz crosstool-ng-3342dd74da7ba3708d4339b9e42b495daf59cf5c.tar.bz2 crosstool-ng-3342dd74da7ba3708d4339b9e42b495daf59cf5c.zip |
Makefile: fix parrallel (-j) installs
Currently, we would remove previously installed patches before
installing the new ones. Unfortunately, that does not play well
with heavily parallel installs.
Now, we consider it is the responsibility of the user to first
uninstall any previous version before installing a new one.
Reported-by: Markos Chandras <markos.chandras@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 78185ed3..29aff1c5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -296,10 +296,9 @@ install-bin: $(DESTDIR)$(bindir) # If one is hacking crosstool-NG, the patch set might change between any two # installations of the same VERSION, thus the patches must be removed prior -# to being installed. It is simpler to remove the whole lib/ directory, as it -# is the goal of the install-lib rule to install the lib/ directory... -install-lib: uninstall-lib \ - $(DESTDIR)$(libdir) \ +# to being installed. It is the responsibility of the user to call uninstall +# first, if (s)he deems it necessary +install-lib: $(DESTDIR)$(libdir) \ install-lib-main \ install-lib-samples |