Re: Mutli-directory module Makefiles

2018-01-27 Thread Masahiro Yamada
2018-01-26 4:47 GMT+09:00 Jakub Kicinski : > On Thu, 25 Jan 2018 22:08:34 +0900, Masahiro Yamada wrote: >> 2018-01-23 6:46 GMT+09:00 Jakub Kicinski : >> > Hi! >> > >> > in drivers/net/ethernet/netronome/nfp there is a module which is built >> > from C sources in 4 directories. What is the best way

Re: Mutli-directory module Makefiles

2018-01-25 Thread Sam Ravnborg
Hi Jakub. On Mon, Jan 22, 2018 at 01:46:07PM -0800, Jakub Kicinski wrote: > Hi! > > in drivers/net/ethernet/netronome/nfp there is a module which is built > from C sources in 4 directories. What is the best way to handle that? Move all .c files to th same directory - like done for almost all ot

Re: Mutli-directory module Makefiles

2018-01-25 Thread Jakub Kicinski
On Thu, 25 Jan 2018 22:08:34 +0900, Masahiro Yamada wrote: > 2018-01-23 6:46 GMT+09:00 Jakub Kicinski : > > Hi! > > > > in drivers/net/ethernet/netronome/nfp there is a module which is built > > from C sources in 4 directories. What is the best way to handle that? > > > > Currently we just add all

Re: Mutli-directory module Makefiles

2018-01-25 Thread Masahiro Yamada
2018-01-23 6:46 GMT+09:00 Jakub Kicinski : > Hi! > > in drivers/net/ethernet/netronome/nfp there is a module which is built > from C sources in 4 directories. What is the best way to handle that? > > Currently we just add all the objects in one Makefile: > > nfp-objs := \ > nfpcore/nfp