summaryrefslogtreecommitdiff
path: root/sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-13 06:50:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2016-08-13 06:50:53 -0500
commit2620217d197b243a726841dc29ce4db29ab91467 (patch)
treea5e3459ee7b6f564faa10c4819ca353c53a5ab1a /sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild
parentef130c196008e365c3ba4735ebb56dd3c467c0e8 (diff)
downloadpackages-2620217d197b243a726841dc29ce4db29ab91467.tar.gz
packages-2620217d197b243a726841dc29ce4db29ab91467.tar.bz2
packages-2620217d197b243a726841dc29ce4db29ab91467.tar.xz
packages-2620217d197b243a726841dc29ce4db29ab91467.zip
sys-kernel/easy-kernel: Version bump to 4.4.16_p3
Diffstat (limited to 'sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild')
-rw-r--r--sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild b/sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild
new file mode 100644
index 000000000..e7a2d42c0
--- /dev/null
+++ b/sys-kernel/easy-kernel/easy-kernel-4.4.16_p3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2015-2016 Adélie Linux Team
+# Distributed under the terms of the NCSA License
+
+EAPI=6
+
+DESCRIPTION="The Linux kernel - easy edition"
+SLOT="0"
+KEYWORDS="arm mips ppc x86 x86_64 ~alpha ~arm64 ~hppa ~ppc64 ~sparc64"
+
+SRC_URI="https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.4.tar.xz
+ mirror://foxkit/linux-4.4.16-mc3.patch.xz"
+
+DEPEND="sys-apps/tuxonice-userui
+ app-arch/lzop"
+RDEPEND="!sys-kernel/kernel-kit
+ ${DEPEND}"
+RESTRICT="test" # no way you can test a kernel.
+
+S="${WORKDIR}/linux-4.4"
+
+src_prepare() {
+ eapply "${WORKDIR}"/linux-4.4.16-mc3.patch
+ default
+}
+
+src_configure() {
+ cp "${FILESDIR}"/config_${PV}_${ARCH} "${S}"/.config || \
+ die "No configuration available for your architecture."
+ emake silentoldconfig
+}
+
+src_compile() {
+ emake bzImage
+ emake modules
+ emake firmware
+}
+
+src_install() {
+ dodir /boot
+ emake install INSTALL_PATH="${D}/boot"
+ emake modules_install INSTALL_MOD_PATH="${D}"
+ emake firmware_install INSTALL_FW_PATH="${D}/lib/firmware"
+}
+