[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread Arevalo, Mario Alfredo C
: Friday, November 27, 2015 8:01 AM To: Thomas Monjalon Cc: dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod) On Fri, Nov 27, 2015 at 04:40:51PM +0100, Thomas Monjalon wrote: > 2015-09-22 09:56, Panu Matilainen: > > On 09/18/2015 11:33

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread David Marchand
On Fri, Nov 27, 2015 at 5:01 PM, Ferruh Yigit wrote: > As far as I know only "?=" assignment overridden by command line. > > Basic experiment: > > # cat Makefile > A ?= a > B := b > C = c > > all: > @echo $(A) $(B) $(C) > > - > > # make > a b c > > # A=x B=x C=x make > x b c > Those

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread Ferruh Yigit
On Fri, Nov 27, 2015 at 04:23:07PM +, Bruce Richardson wrote: > On Fri, Nov 27, 2015 at 05:20:43PM +0100, David Marchand wrote: > > On Fri, Nov 27, 2015 at 5:01 PM, Ferruh Yigit > > wrote: > > > > > As far as I know only "?=" assignment overridden by command line. > > > > > > Basic experiment

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread Thomas Monjalon
2015-09-22 09:56, Panu Matilainen: > On 09/18/2015 11:33 PM, Mario Carrillo wrote: > > +MOD_DIR := $(DESTDIR)/lib/modules > > +KERNEL_DIR := $(shell uname -r)/extra > > Please don't assume one is always building for the running kernel. > Defaulting around uname -r is perfectly reasonable, but the

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread Bruce Richardson
On Fri, Nov 27, 2015 at 05:20:43PM +0100, David Marchand wrote: > On Fri, Nov 27, 2015 at 5:01 PM, Ferruh Yigit > wrote: > > > As far as I know only "?=" assignment overridden by command line. > > > > Basic experiment: > > > > # cat Makefile > > A ?= a > > B := b > > C = c > > > > all: > >

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-11-27 Thread Ferruh Yigit
On Fri, Nov 27, 2015 at 04:40:51PM +0100, Thomas Monjalon wrote: > 2015-09-22 09:56, Panu Matilainen: > > On 09/18/2015 11:33 PM, Mario Carrillo wrote: > > > +MOD_DIR := $(DESTDIR)/lib/modules > > > +KERNEL_DIR := $(shell uname -r)/extra > > > > Please don't assume one is always building for the r

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-09-22 Thread Panu Matilainen
On 09/18/2015 11:33 PM, Mario Carrillo wrote: > Add hierarchy-file support to the DPDK modules for linux, > when invoking "make install H=1" (hierarchy-file) > > This hierarchy is based on: > http://www.freedesktop.org/software/systemd/man/file-hierarchy.html > > headers will be installed in: $(DES

[dpdk-dev] [PATCH 7/7] mk: Add hierarchy-file support (linux mod)

2015-09-18 Thread Mario Carrillo
Add hierarchy-file support to the DPDK modules for linux, when invoking "make install H=1" (hierarchy-file) This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html headers will be installed in: $(DESTDIR)/lib/modules Signed-off-by: Mario Carrillo --- mk/