DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Piotr Bartosiewicz <piotr.bartosiewicz@atendesoftware.pl>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] make install and RTE_KERNELDIR in dpdk 2.2
Date: Thu, 17 Dec 2015 12:18:30 +0100	[thread overview]
Message-ID: <2000237.kJ38smCVSk@xps13> (raw)
In-Reply-To: <5672984C.5030504@atendesoftware.pl>

2015-12-17 12:11, Piotr Bartosiewicz:
> W dniu 17.12.2015 o 00:26, Thomas Monjalon pisze:
> > 2015-12-16 15:14, Piotr Bartosiewicz:
> >> A new 'make install' wrongly assumes that the output module name is
> >> always 'uname -r' even if RTE_KERNELDIR is passed.
> > No it does not assume anything, it is just a default value.
> > How can you find the directory based on RTE_KERNELDIR?
> >
> > You can set kerneldir=something-else on the "make install" command line.
> 
> OK, I understand kerneldir in general can't be guessed from RTE_KERNELDIR,
> but maybe there should be some hint in docs to pass kerneldir when 
> RTE_KERNELDIR is used.

Yes you are right, it can be better documented.

> In my case the working command is:
> make install T=... DESTDIR=... 
> RTE_KERNELDIR=/lib/modules/3.16.0-4-amd64/build 
> kerneldir=/lib/modules/3.16.0-4-amd64/extra/dpdk

Please, feel free to update the doc.
Thanks

      reply	other threads:[~2015-12-17 11:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-16 14:14 Piotr Bartosiewicz
2015-12-16 23:26 ` Thomas Monjalon
2015-12-17 11:11   ` Piotr Bartosiewicz
2015-12-17 11:18     ` Thomas Monjalon [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=2000237.kJ38smCVSk@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    --cc=piotr.bartosiewicz@atendesoftware.pl \
    /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 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).