Re: kbuild: Implicit dependence on the C compiler

From: linux-os
Date: Wed Jan 19 2005 - 11:37:24 EST


On Wed, 19 Jan 2005, Bodo Eggert wrote:

Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:

1) Unconditionally execute make install assuming vmlinux is up-to-date.
make modules_install run unconditionally, so this is already know
practice

(o) Vote for this.

IMO, a make install should NEVER run the compiler.

The reason is: I'm deliberaely compiling as a user on the fastest system
before I copy or mount the FS to/on some other box and do a make install.
The other box will be _very_ slow while compiling or missing some of the
needed components (e.g. gcc).


You must never execute `make install` or `make modules_install` without
the explicit action of the operator! To do so could (will) result
in an un-bootable system. I can't imagine what somebody would be
thinking to propose an automatic install. Whoever proposed this
must have lots of time and little knowledge. They are going to
be reinstalling everything from the distribution CD as a hobby.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/