summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKireinaHoro <i@jsteward.moe>2018-07-19 23:21:46 +0800
committerKireinaHoro <i@jsteward.moe>2018-07-19 23:21:46 +0800
commit29889d6508b67a0454ec70f6871752462c126d1b (patch)
tree8cd4440d8d1c26d28d0a3a780912003d50524b13
parentsys-kernel/preinit: bump to 0.9 (diff)
downloadandroid-29889d6508b67a0454ec70f6871752462c126d1b.tar.gz
android-29889d6508b67a0454ec70f6871752462c126d1b.tar.bz2
android-29889d6508b67a0454ec70f6871752462c126d1b.zip
sys-kernel/linux-headers: add 3.10.73
Package-Manager: Portage-2.3.40, Repoman-2.3.9
-rw-r--r--sys-kernel/linux-headers/Manifest2
-rw-r--r--sys-kernel/linux-headers/linux-headers-3.10.73.ebuild51
-rw-r--r--sys-kernel/linux-headers/metadata.xml11
3 files changed, 64 insertions, 0 deletions
diff --git a/sys-kernel/linux-headers/Manifest b/sys-kernel/linux-headers/Manifest
new file mode 100644
index 0000000..95af43f
--- /dev/null
+++ b/sys-kernel/linux-headers/Manifest
@@ -0,0 +1,2 @@
+EBUILD linux-headers-3.10.73.ebuild 1161 BLAKE2B b44eac62853b663f77744efeecbf624c15fa94e71a7e94805174426e9e6fd224100ce784ae5866ef9db9969471c397bb685531c0cc530e87e085218697979b1d SHA512 c2bd268881a30d59741aad0be1d422b341b7ca3d9cc811b7f2d22befb90b13b114b376901fc6f37984176de0bd666afb36cf565ed98cec32c78c713d5a298e19
+MISC metadata.xml 344 BLAKE2B 383045f9629523bb66545a2e141c51056a1dffcc7cb084b251efd9da73253dbd4be8beebc659d65dbe2faf7852207db39feadac2ab07dff140db1c7f8dbf992a SHA512 4dfc3a4130e5ae01c17510c693c4f2bd81fb019cf003e866c7f359213b58c6e36ed59699d6a458464e1dabd73c8f4a24eada8ced06d7ac513ec3553c0179f164
diff --git a/sys-kernel/linux-headers/linux-headers-3.10.73.ebuild b/sys-kernel/linux-headers/linux-headers-3.10.73.ebuild
new file mode 100644
index 0000000..0c516e0
--- /dev/null
+++ b/sys-kernel/linux-headers/linux-headers-3.10.73.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+ETYPE="headers"
+H_SUPPORTEDARCH="arm64"
+inherit kernel-2
+detect_version
+detect_arch
+
+inherit git-r3
+EGIT_REPO_URI="https://github.com/KireinaHoro/android_kernel_huawei_angler.git"
+EGIT_BRANCH="sharkbait"
+EGIT_CHECKOUT_DIR="${WORKDIR}/linux-${PV}"
+
+KEYWORDS="~arm64"
+
+DEPEND="app-arch/xz-utils
+ dev-lang/perl"
+RDEPEND="!!media-sound/alsa-headers"
+
+src_unpack() {
+ git-r3_src_unpack
+ unpack_set_extraversion
+}
+
+src_install() {
+ kernel-2_src_install
+
+ find "${ED}" '(' -iname '.install' -o -name '*.cmd' ')' -delete
+ find "${ED}" -depth -type d -delete 2>/dev/null
+}
+
+src_test() {
+ # Make sure no uapi/ include paths are used by accident.
+ egrep -r \
+ -e '# *include.*["<]uapi/' \
+ "${D}" && die "#include uapi/xxx detected"
+
+ einfo "Possible unescaped attribute/type usage"
+ egrep -r \
+ -e '(^|[[:space:](])(asm|volatile|inline)[[:space:](]' \
+ -e '\<([us](8|16|32|64))\>' \
+ .
+
+ einfo "Missing linux/types.h include"
+ egrep -l -r -e '__[us](8|16|32|64)' "${ED}" | xargs grep -L linux/types.h
+
+ emake ARCH=$(tc-arch-kernel) headers_check
+}
diff --git a/sys-kernel/linux-headers/metadata.xml b/sys-kernel/linux-headers/metadata.xml
new file mode 100644
index 0000000..fcf3f04
--- /dev/null
+++ b/sys-kernel/linux-headers/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>toolchain@gentoo.org</email>
+ <name>Gentoo Toolchain Project</name>
+</maintainer>
+<upstream>
+ <remote-id type="cpe">cpe:/o:linux:linux_kernel</remote-id>
+</upstream>
+</pkgmetadata>