DPDK patches and discussions
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@tuxdriver.com>
To: Prashant Upadhyaya <praupadhyaya@gmail.com>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Help with compilation of .s files with DPDK build system
Date: Fri, 10 Oct 2014 07:30:05 -0400	[thread overview]
Message-ID: <20141010113005.GB19499@hmsreliant.think-freely.org> (raw)
In-Reply-To: <CAPBAu3WTrkzF4ciV2yKYHHd=_gQQEViRwMHWSePGO6SxoMDYzg@mail.gmail.com>

On Fri, Oct 10, 2014 at 12:07:15PM +0530, Prashant Upadhyaya wrote:
> Hi,
> 
> I have an application which consists of *.c files and I have been using the
> DPDK build system happily so far.
> The way I do it is I include the rte.vars.mk and rte.extlib.mk in my
> application Makefile.
> I set the LIB variable to <mylibname>.a
> I set SRCS-y := <all C files here>
> And that's it, it works.
> 
> Now recently, I need to introduce the compilation of .s file (not .S)
So...Not assembly?  Whats in a .s file?

> I can easily compile it by hand using gcc, but I can't seem to find a trick
> to compile it with DPDK environment.
> 
You'll need to add a rule to rte.compile-pre.mk, like the C_TO_O series.  But
you'll have to be creative with your naming as there is already a S_TO_O series
for assembly files (.S)
Neil

> Any advises ?
> 
> Regards
> -Prashant
> 

      reply	other threads:[~2014-10-10 11:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-10  6:37 Prashant Upadhyaya
2014-10-10 11:30 ` Neil Horman [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=20141010113005.GB19499@hmsreliant.think-freely.org \
    --to=nhorman@tuxdriver.com \
    --cc=dev@dpdk.org \
    --cc=praupadhyaya@gmail.com \
    /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).