diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-07-12 02:21:36 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-12 11:56:18 +0200 |
commit | be2b20be6e9a7478f3fc2ee162b85e8b75f6d5fe (patch) | |
tree | 8b9b7e29268f37594188489d916cc3e81bb2d9b9 /package/nodejs | |
parent | 84d97e6200f3f0b97485825728e9bdcc644f5830 (diff) | |
download | buildroot-be2b20be6e9a7478f3fc2ee162b85e8b75f6d5fe.tar.gz buildroot-be2b20be6e9a7478f3fc2ee162b85e8b75f6d5fe.zip |
package/cryptodev-linux: use the kernel-module helper
The kernel module needs the version.h headers at build-time, but the
Makefile only generates it when the module is built with that Makefile,
because it has this rule:
build: version.h
make ${KERNEL_MAKE_OPTS} modules
So, we must explicitly build this header, which we do in a pre-build hook
to ensure it comes before the kernel-module's own hooks. This header needs
not be installed in staging.
However, the cryptodev.h header still needs to be installed in staging,
which we still do in a staging-install command.
The KERNEL_DIR and PREFIX variables are no longer needed, because we're
no longer calling the rules that needed them (build, above, and
modules_install, both now handled by the kernel-module infra).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Doug: add pre-build hook to build version.h]
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs')
0 files changed, 0 insertions, 0 deletions