All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur.tabi@ammasso.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kbuild: specifying phony targets?
Date: Fri, 20 May 2005 13:03:21 -0500	[thread overview]
Message-ID: <428E2669.7010507@ammasso.com> (raw)
In-Reply-To: <20050520053741.GB16699@mars.ravnborg.org>

Sam Ravnborg wrote:

> 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

I added these lines to my makefile:

always := syscall

syscall:
         @echo ${SYSCALL_METHOD}

and I got this error:

make[3]: *** No rule to make target 
`/root/AMSO1100/software/host/linux/sys/devccil/syscall', needed by `__build'.  Stop.

I need to specify a target that is NOT a file.  How can I tell kbuild that my target isn't 
a file, but just a rule that needs to be run?

-- 
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com

One thing a Southern boy will never say is,
"I don't think duct tape will fix it."
      -- Ed Smylie, NASA engineer for Apollo 13

      reply	other threads:[~2005-05-20 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-18 14:11 kbuild: specifying phony targets? Timur Tabi
2005-05-20  5:37 ` Sam Ravnborg
2005-05-20 18:03   ` Timur Tabi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=428E2669.7010507@ammasso.com \
    --to=timur.tabi@ammasso.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.