Re: [ptxdist] [PATCH] template-src-linux-driver: Only install driver if selected

2018-12-13 Thread Ian Abbott
On 12/12/2018 11:18, Michael Olbrich wrote: On Wed, Dec 12, 2018 at 10:42:38AM +, Ian Abbott wrote: If a local package "foo-mod" for a Linux kernel module is selected by a local tristate configuration option PTXCONF_FOO_MOD, then based on the template for Linux drivers, it would include the

Re: [ptxdist] [PATCH] template-src-linux-driver: Only install driver if selected

2018-12-12 Thread Michael Olbrich
On Wed, Dec 12, 2018 at 10:42:38AM +, Ian Abbott wrote: > If a local package "foo-mod" for a Linux kernel module is selected by a > local tristate configuration option PTXCONF_FOO_MOD, then based on the > template for Linux drivers, it would include the following in its > foo-mod.make file: >

[ptxdist] [PATCH] template-src-linux-driver: Only install driver if selected

2018-12-12 Thread Ian Abbott
If a local package "foo-mod" for a Linux kernel module is selected by a local tristate configuration option PTXCONF_FOO_MOD, then based on the template for Linux drivers, it would include the following in its foo-mod.make file: ifdef PTXCONF_FOO_MOD $(STATEDIR)/kernel.targetinstall.post: