All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@siemens.com>
To: "\"Hänel-Baas, Alexander\"" <alexander.haenel-baas@sieb-meyer.de>,
	"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Xeno3.x xeno-config --kcflags
Date: Tue, 21 Apr 2015 13:12:22 +0200	[thread overview]
Message-ID: <55363096.8070400@siemens.com> (raw)
In-Reply-To: <9BA84827B30CBE4996725F98F7DC912342963659@SMExchange01.siebmeyer.org>

On 2015-04-21 08:37, Hänel-Baas, Alexander wrote:
> Hi, 
> I run "xeno-config --rtdm --kcflags" to get the cflags when i build my own kernel modules.
> The script returned:  -Iarch/$(SRCARCH)/xenomai/include
> 
> My question: who is set $(SRCARCH)?
> 

That that the directory under linux/arch/ that will be used for the
build. But you don't need to worry about this, kbuild will take care of
resolving it (assuming that you are not trying to reinvent it). Just
feed the output into ccflags-y, e.g.

Jan

-- 
Siemens AG, Corporate Technology, CT RTC ITP SES-DE
Corporate Competence Center Embedded Linux


  reply	other threads:[~2015-04-21 11:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21  6:37 [Xenomai] Xeno3.x xeno-config --kcflags Hänel-Baas, Alexander
2015-04-21 11:12 ` Jan Kiszka [this message]
2015-04-22  6:14   ` Hänel-Baas, Alexander
2015-04-22  6:29     ` Philippe Gerum
2015-04-22  6:46       ` Hänel-Baas, Alexander
2015-04-30  8:51       ` Philippe Gerum
2015-05-04  6:01         ` Hänel-Baas, Alexander

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=55363096.8070400@siemens.com \
    --to=jan.kiszka@siemens.com \
    --cc=alexander.haenel-baas@sieb-meyer.de \
    --cc=xenomai@xenomai.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.