* One question about top-level Makefile.
@ 2010-05-06 3:53 os user
2010-05-06 13:57 ` Michal Marek
0 siblings, 1 reply; 3+ messages in thread
From: os user @ 2010-05-06 3:53 UTC (permalink / raw)
To: mmarek; +Cc: linux-kbuild
Hi, I have a question about the top-level Makefile
# The all: target is the default when no target is given on the
# command line.
# This allow a user to issue only 'make' to build a kernel including modules
# Defaults vmlinux but it is usually overridden in the arch makefile
all: vmlinux
From the last comment, arch makefile will override vmlinux. It seems
vmlinux will not be checked by `make'. But from my test, although
`all:' will be re-defined in arch Makefile (ARM arch), vmlinux will
still be checked and the commands associated will be executed. Should
we use another word instead of "overridden"?
Best Regards
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: One question about top-level Makefile.
2010-05-06 3:53 One question about top-level Makefile os user
@ 2010-05-06 13:57 ` Michal Marek
2010-05-06 14:46 ` os user
0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2010-05-06 13:57 UTC (permalink / raw)
To: os user; +Cc: linux-kbuild
On 6.5.2010 05:53, os user wrote:
> Hi, I have a question about the top-level Makefile
>
> # The all: target is the default when no target is given on the
> # command line.
> # This allow a user to issue only 'make' to build a kernel including modules
> # Defaults vmlinux but it is usually overridden in the arch makefile
> all: vmlinux
>
> From the last comment, arch makefile will override vmlinux. It seems
> vmlinux will not be checked by `make'. But from my test, although
> `all:' will be re-defined in arch Makefile (ARM arch), vmlinux will
> still be checked and the commands associated will be executed. Should
> we use another word instead of "overridden"?
"Defaults to vmlinux, but the arch makefile usually adds further targets"?
Michal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: One question about top-level Makefile.
2010-05-06 13:57 ` Michal Marek
@ 2010-05-06 14:46 ` os user
0 siblings, 0 replies; 3+ messages in thread
From: os user @ 2010-05-06 14:46 UTC (permalink / raw)
To: Michal Marek; +Cc: linux-kbuild
Hi,
On Thu, May 6, 2010 at 9:57 PM, Michal Marek <mmarek@suse.cz> wrote:
> On 6.5.2010 05:53, os user wrote:
>> Hi, I have a question about the top-level Makefile
>>
>> # The all: target is the default when no target is given on the
>> # command line.
>> # This allow a user to issue only 'make' to build a kernel including modules
>> # Defaults vmlinux but it is usually overridden in the arch makefile
>> all: vmlinux
>>
>> From the last comment, arch makefile will override vmlinux. It seems
>> vmlinux will not be checked by `make'. But from my test, although
>> `all:' will be re-defined in arch Makefile (ARM arch), vmlinux will
>> still be checked and the commands associated will be executed. Should
>> we use another word instead of "overridden"?
>
> "Defaults to vmlinux, but the arch makefile usually adds further targets"?
It seems this makes more sense. :-)
BR
>
> Michal
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-05-06 14:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-06 3:53 One question about top-level Makefile os user
2010-05-06 13:57 ` Michal Marek
2010-05-06 14:46 ` os user
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).