From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 2B26B7FE6 for ; Fri, 10 Oct 2014 13:22:50 +0200 (CEST) Received: from cpe-098-026-066-094.nc.res.rr.com ([98.26.66.94] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1XcYOb-0006dx-Hv; Fri, 10 Oct 2014 07:30:15 -0400 Date: Fri, 10 Oct 2014 07:30:05 -0400 From: Neil Horman To: Prashant Upadhyaya Message-ID: <20141010113005.GB19499@hmsreliant.think-freely.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Help with compilation of .s files with DPDK build system X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Oct 2014 11:22:50 -0000 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 .a > I set SRCS-y := > 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 >