lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kbuild: specifying phony targets?
On Wed, May 18, 2005 at 09:11:01AM -0500, Timur Tabi wrote:
> I have a Makefile that works with 2.4 and 2.6 kernels. On the 2.4 side, I
> have a rule like this:
>
> all: mytext ${TARGET_DIR} ${TARGET_DIR}/ccil.o
>
> mytext:
> @echo ${SOMETEXT}
>
> This causes the text in variable SOMETEXT to be displayed right when the
> build starts.
>
> How do I do the same thing with kbuild? Is there a way I can get a kbuild
> makefile to run a phony target right at the beginning?

A phony target is not possible.
But use 'always' to tell kbuild what needs to be done.
Se also kbuild documentation: Documentation/kbuild/makefile.txt

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-05-20 07:39    [W:0.095 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site