2015-12-02 11:53, Panu Matilainen: > On 12/02/2015 05:57 AM, Thomas Monjalon wrote: > > Add kernel modules to "make install". > > Nothing is done if there is no kernel module compiled. > > > > On native Linux, this path is suggested: > > kerneldir=/lib/modules/$(uname -r)/extra/dpdk [...] > > +kerneldir ?= $(exec_prefix)/kmod > > This by default installs the modules to /usr/local/kmod/ with no kernel > version etc. That's so broken that it'd be better not to install them at > all. > > So either get the kerneldir right (the correct path is known on Linux > and surely BSD too) or dont install them at all unless kerneldir is > manually specified. For Linux, it should default to > /lib/modules/<kernelver>/extra/dpdk on Linux, where <kernelver> is the > version those modules were built against (which might or might not have > anything to do with uname -r output).
Yes. That's what Mario did. I wanted to keep the same default as with the old T= command. But both are do-able by using "ifdef T".