aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlice Ferrazzi <alicef@gentoo.org>2017-06-11 02:07:46 +0000
committerAlice Ferrazzi <alicef@gentoo.org>2017-06-11 02:07:46 +0000
commit1225dd57bdfb8360f66b836d1b1fbc644594e612 (patch)
tree49aa5e6c1028e2daa7cd971a7bba774ffe6ba1f9
parentadded Livepatch work api (diff)
downloadelivepatch-1225dd57bdfb8360f66b836d1b1fbc644594e612.tar.gz
elivepatch-1225dd57bdfb8360f66b836d1b1fbc644594e612.tar.bz2
elivepatch-1225dd57bdfb8360f66b836d1b1fbc644594e612.zip
divided task in compile and install
-rw-r--r--sys-kernel/kpatch/kpatch-0.4.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-kernel/kpatch/kpatch-0.4.0.ebuild b/sys-kernel/kpatch/kpatch-0.4.0.ebuild
index 24bc74a..5a4fb41 100644
--- a/sys-kernel/kpatch/kpatch-0.4.0.ebuild
+++ b/sys-kernel/kpatch/kpatch-0.4.0.ebuild
@@ -65,7 +65,12 @@ src_prepare() {
default
}
+src_compile() {
+ set_arch_to_kernel
+ emake all
+}
+
src_install() {
set_arch_to_kernel
- emake DESTDIR="${D}" all install
+ emake DESTDIR="${D}" install
}