wf111: fix overwriting module files during install
authorMatthew Starr <mstarr@hedonline.com>
Tue, 3 Nov 2015 16:52:13 +0000 (17:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 25 Apr 2016 21:47:49 +0000 (23:47 +0200)
commiteee68714a85b159050caecc2628fa349c4d9489e
tree1014e216e5d09f4641dd900b40ad400a86b0aada
parented2a15b79136db815e034aa9e5aa0635e91222ec
wf111: fix overwriting module files during install

When installing the WF111 modules, the module.* files generated during
the kernel compilation were overridden. This ended up having the wrong
information about the modules compiled in a given image (and only the
one about the WF111 module). This could be verified using the
"modprobe -l" command, with only the wf111 module showing up.

This patch fixes this by invoking the install_static target (which
will do both the build and installation) in WF111_INSTALL_TARGET_CMDS.
This way the files are not overridden but instead updated with the
additional WF111 informations.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Tested-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/wf111/wf111.mk