aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds2013-07-10 21:02:51 -0500
committerLinus Torvalds2013-07-10 21:02:51 -0500
commit6d128e1e72bf082542e85f72e6b7ddd704193588 (patch)
tree1cf80d3be3fc6137cf14428ac3a80dad79ebd759 /Makefile
parent64fb6d9aa01a523bcd70f836bf1374dcb22759a9 (diff)
downloadkernel-6d128e1e72bf082542e85f72e6b7ddd704193588.tar.gz
kernel-6d128e1e72bf082542e85f72e6b7ddd704193588.tar.xz
kernel-6d128e1e72bf082542e85f72e6b7ddd704193588.zip
Revert "Makefile: Fix install error with make -j option"
This reverts commit d2aae8477cd00325bb7c7c7e95be488088900c48. It is completely and utterly broken. Module install should not build any files, and adding broken dependencies to "help" it build files is complete and utter sh*t. The kernel should not be built by root, and "make install" and "make module_install" (that for obvious reasons need to be run as root) absolutely must not build any files. They should only ever copy the already-built files over. So having dependencies for the install targets is wrong, wrong, wrong. If you try to install a kernel without building it first, you *should* get errors. The build system shouldn't try to help root build the files. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e631e6c05f8e..4e3575c7ec35 100644
--- a/Makefile
+++ b/Makefile
@@ -981,7 +981,7 @@ _modinst_:
981# boot a modules.dep even before / is mounted read-write. However the 981# boot a modules.dep even before / is mounted read-write. However the
982# boot script depmod is the master version. 982# boot script depmod is the master version.
983PHONY += _modinst_post 983PHONY += _modinst_post
984_modinst_post: include/config/kernel.release _modinst_ 984_modinst_post: _modinst_
985 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst 985 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modinst
986 $(call cmd,depmod) 986 $(call cmd,depmod)
987 987