diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-01-04 03:32:40 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-01-04 03:32:40 -0600 |
commit | 7d8cb4a65cd1c26c3bd7afb3ea62db7d6f1b7a76 (patch) | |
tree | b21bd3f94cf7bcb9d774e40cbbe614ab067f08ee /sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.ebuild | |
parent | 882fdd5c182260007bc54353d418dd981b5af034 (diff) | |
download | packages-7d8cb4a65cd1c26c3bd7afb3ea62db7d6f1b7a76.tar.gz packages-7d8cb4a65cd1c26c3bd7afb3ea62db7d6f1b7a76.tar.bz2 packages-7d8cb4a65cd1c26c3bd7afb3ea62db7d6f1b7a76.tar.xz packages-7d8cb4a65cd1c26c3bd7afb3ea62db7d6f1b7a76.zip |
sys-kernel/easy-kernel: version bump 4.4.39
Diffstat (limited to 'sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.ebuild')
-rw-r--r-- | sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.ebuild b/sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.ebuild new file mode 100644 index 000000000..3112c7372 --- /dev/null +++ b/sys-kernel/easy-kernel/easy-kernel-4.4.37_p5.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.37-mc5.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.37-mc5.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" +} + |