diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-16 21:06:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-16 21:06:10 +0100 |
commit | 56dfbc354433790fe049a5fad45c4f0d2c4da1a2 (patch) | |
tree | 9d79bc37d176dd402ee07e9efbfa3f5ab9153dce | |
parent | bab92c70bae0413c26e4cfe722b5aeeaff382167 (diff) |
sys-kernel/linux-image-redcore-lts : install files into exherbo specific path, fix modules_install
-rw-r--r-- | packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 index 8da26b1..3635961 100644 --- a/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 +++ b/packages/sys-kernel/linux-image-redcore-lts/linux-image-redcore-lts-4.14.65.exheres-0 @@ -106,13 +106,20 @@ src_install() { exeinto /usr/src/linux-"${KV_FULL}" doexe vmlinux - emake INSTALL_MOD_PATH="${IMAGE}" modules_install + src_install_params=( + CC="${CC}" + HOSTCC="${CC}" + ) + + edo emake \ + "${src_install_params[@]}" \ + INSTALL_MOD_PATH="${IMAGE}"/usr/"$(exhost --target)"/lib modules_install - edo rm -f "${IMAGE}"lib/modules/"${KV_FULL}"/build - edo rm -f "${IMAGE}"lib/modules/"${KV_FULL}"/source + edo rm -f "${IMAGE}"/usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/build + edo rm -f "${IMAGE}"/usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/source export local KSYMS for KSYMS in build source ; do - dosym ../../../usr/src/linux-"${KV_FULL}" lib/modules/"${KV_FULL}"/"${KSYMS}" + dosym ../../../../../usr/src/linux-"${KV_FULL}" usr/"$(exhost --target)"/lib/modules/"${KV_FULL}"/"${KSYMS}" done } |