diff options
author | Peter Seiderer <ps.report@gmx.net> | 2015-07-16 23:24:12 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-26 18:42:36 +0200 |
commit | 0ad6ee7f36904c756a8c6792581daf83ff91f8c3 (patch) | |
tree | 6bf00399256a9838825f3f98fda430638a71a451 /package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch | |
parent | 2bb611a046afcc2b3546b6ca20099100b31ef229 (diff) | |
download | buildroot-0ad6ee7f36904c756a8c6792581daf83ff91f8c3.tar.gz buildroot-0ad6ee7f36904c756a8c6792581daf83ff91f8c3.zip |
racehound: fix kernel module compile
- check for linux kernel >= 3.14
- add cross compile enviornment for linux kernel compile
- add additional kernel config hint (CONFIG_KALLSYMS_ALL)
- fix kernel module install path
[Thomas:
- fix Config.in dependency logic for the comment on the kernel
version, as noticed by Baruch.
- minor improvements in the .mk file.]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch')
-rw-r--r-- | package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch b/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch new file mode 100644 index 0000000000..6cac55d3eb --- /dev/null +++ b/package/racehound/0001-Fix-module-install-path-lib-instead-of-usr-lib-prefi.patch @@ -0,0 +1,26 @@ +From 4f8ed39ddaf17c7dd4ddbdb88e67097f00c98173 Mon Sep 17 00:00:00 2001 +From: Peter Seiderer <ps.report@gmx.net> +Date: Thu, 16 Jul 2015 23:11:25 +0200 +Subject: [PATCH] Fix module install path (/lib instead of /usr/lib prefix) + +Signed-off-by: Peter Seiderer <ps.report@gmx.net> +--- + cmake/modules/path_prefixes.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/modules/path_prefixes.cmake b/cmake/modules/path_prefixes.cmake +index 3cb1fe2..9dc50a4 100644 +--- a/cmake/modules/path_prefixes.cmake ++++ b/cmake/modules/path_prefixes.cmake +@@ -113,7 +113,7 @@ set(RH_INSTALL_PREFIX_DOC + # Set derivative prefixes + + # additional, 1 +-set(RH_INSTALL_PREFIX_KMODULE "${RH_INSTALL_PREFIX_LIB}/modules/${KBUILD_VERSION_STRING}/misc") ++set(RH_INSTALL_PREFIX_KMODULE "/lib/modules/${KBUILD_VERSION_STRING}/misc") + # Another variant + #"${RH_INSTALL_PREFIX_LIB}/modules/${KBUILD_VERSION_STRING}/extra") + # additional, 2 +-- +2.1.4 + |