Makefile: fix parrallel (-j) installs
author"Yann E. MORIN" <yann.morin.1998@free.fr>
Mon Feb 25 21:19:31 2013 +0100 (2013-02-25)
changeset 3185f89f8e6f8766
parent 3184 716e7d90cac2
child 3186 fb0aa58be2c5
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>
Makefile.in
     1.1 --- a/Makefile.in	Tue Feb 19 13:07:09 2013 +0100
     1.2 +++ b/Makefile.in	Mon Feb 25 21:19:31 2013 +0100
     1.3 @@ -296,10 +296,9 @@
     1.4  
     1.5  # If one is hacking crosstool-NG, the patch set might change between any two
     1.6  # installations of the same VERSION, thus the patches must be removed prior
     1.7 -# to being installed. It is simpler to remove the whole lib/ directory, as it
     1.8 -# is the goal of the install-lib rule to install the lib/ directory...
     1.9 -install-lib: uninstall-lib          \
    1.10 -             $(DESTDIR)$(libdir)    \
    1.11 +# to being installed. It is the responsibility of the user to call uninstall
    1.12 +# first, if (s)he deems it necessary
    1.13 +install-lib: $(DESTDIR)$(libdir)    \
    1.14               install-lib-main       \
    1.15               install-lib-samples
    1.16