[dpdk-dev] How to include pre-build object file (.o) in DPDK makefile?

Lu, Patrick patrick.lu at intel.com
Fri Sep 16 19:04:03 CEST 2016


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


More information about the dev mailing list