From: "Lu, Patrick" <patrick.lu@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] How to include pre-build object file (.o) in DPDK makefile?
Date: Fri, 16 Sep 2016 17:04:03 +0000 [thread overview]
Message-ID: <EFC7DD9FAC418F4683FA895DBD8B35A30FA73F43@fmsmsx101.amr.corp.intel.com> (raw)
Hi,
I'm trying to include some hand written assembly (compiled by yasm) in my DPDK program. I couldn't find any example linking the DPDK C code with pre-compiled .o file. I've searched the mk/ and found OBJS-y seems the right variable to include .o file, but when generating the final executable, OBJS-y contains only main.o (generating from main.c).
I've tried to put my .o file in both source directory as well as build/
Thanks,
Patrick
next reply other threads:[~2016-09-16 17:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-16 17:04 Lu, Patrick [this message]
2016-09-16 18:05 ` Ferruh Yigit
2016-09-16 18:30 ` Lu, Patrick
2016-09-19 11:38 ` Neil Horman
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=EFC7DD9FAC418F4683FA895DBD8B35A30FA73F43@fmsmsx101.amr.corp.intel.com \
--to=patrick.lu@intel.com \
--cc=dev@dpdk.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 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).