summaryrefslogtreecommitdiff
path: root/sys-kernel
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-25 11:40:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-25 11:40:32 +0000
commit4215622c05ed14d30fdad5a4d0feba6d94b0d046 (patch)
tree2e7c452f4b9f4b13bf11bf37ea05bdcf1bc7d73e /sys-kernel
parentd117dce29795dfc5a9824d31a128decaa37f73d2 (diff)
gentoo auto-resync : 25:02:2024 - 11:40:31
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/Manifest.gzbin4573 -> 4571 bytes
-rw-r--r--sys-kernel/mips-sources/Manifest13
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.14.307.ebuild352
-rw-r--r--sys-kernel/mips-sources/mips-sources-4.19.307.ebuild (renamed from sys-kernel/mips-sources/mips-sources-4.19.275.ebuild)2
-rw-r--r--sys-kernel/mips-sources/mips-sources-5.4.269.ebuild (renamed from sys-kernel/mips-sources/mips-sources-5.4.234.ebuild)2
5 files changed, 6 insertions, 363 deletions
diff --git a/sys-kernel/Manifest.gz b/sys-kernel/Manifest.gz
index c92780db90f0..2d5d66f9386e 100644
--- a/sys-kernel/Manifest.gz
+++ b/sys-kernel/Manifest.gz
Binary files differ
diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest
index f0b0f9ec4c30..3e68aabb2cfe 100644
--- a/sys-kernel/mips-sources/Manifest
+++ b/sys-kernel/mips-sources/Manifest
@@ -1,14 +1,9 @@
-DIST linux-4.14.tar.xz 100770500 BLAKE2B 85dc4aa953fe65e273a24473d8de98e4f204f97c43be9fc87cf5be01f796f94cfde5c8f9c84619751f1cac51f83ce0b4681fb19c5f2965a72d4a94fe5577846a SHA512 77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8
DIST linux-4.19.tar.xz 103117552 BLAKE2B 1dbf16cf410867412d17568fe42bc1e90c034183b654d270b650621ff7664a321950943d0639205bc1ee7ef6210be170c1f2c785a042ed8a4ec5e3a486d890e0 SHA512 ab67cc746b375a8b135e8b23e35e1d6787930d19b3c26b2679787d62951cbdbc3bb66f8ededeb9b890e5008b2459397f9018f1a6772fdef67780b06a4cb9f6f4
DIST linux-5.4.tar.xz 109441440 BLAKE2B 193bc4a3147e147d5529956164ec4912fad5d5c6fb07f909ff1056e57235834173194afc686993ccd785c1ff15804de0961b625f3008cca0e27493efc8f27b13 SHA512 9f60f77e8ab972b9438ac648bed17551c8491d6585a5e85f694b2eaa4c623fbc61eb18419b2656b6795eac5deec0edaa04547fc6723fbda52256bd7f3486898f
-DIST mips-sources-4.14.0-patches-v4.tar.xz 287616 BLAKE2B 490073a47cb6506f140285601fdda388387818b8a8f6c970665b55f56c33d4a8385a584e17ae3507fbf04a65d66aa142f11e7dbb7154aa2479ed3af2e747ceec SHA512 6ed9ec86a35dadac528ab006b56e9e3b9bdf665d3a6a4895ed0513cf13a26c760398bc9bf313b2633302b2c71e5908e0b006c5937647091a38a6e8326564f535
DIST mips-sources-4.19.0-patches-v4.tar.xz 290848 BLAKE2B d9e62dac357de63c57e330dfac80d2e841ba6120a33da3b500de8116696e7a3f5c709750c5a730dea72955b356609de4465aa3783f1cf58e6d489841534e804f SHA512 cebf8480b9c5b3a7024a5b3413fd026315b4b64ed9ec559f653986925ec48ff363b1e1bf4ef540a68164957a70a9a524034acf921a2a6147bc6abe58515795c2
DIST mips-sources-5.4-patches-v8.tar.xz 199164 BLAKE2B 854536301e0256a00319e0ede47c8f0ff240fac54f56dc8cdfbdd7a7fbd13b603700215ac7ac36067f7798a3a13e5786f2b1b9e8dadf671e325ffba6b4e01c12 SHA512 11d04b4e5fd529302ab7571027261154282cd1b0fef525934f94d39d975c522e3e162720abeb13bdb10c0055802e7a719caf559bac11d0cca5a0f90181cd8fa0
-DIST mipsgit-4.14.0-20180128.diff.xz 1008 BLAKE2B 2a317ff97aab096883680c6b653e993aee31994e6caec52c52dfbbb61f1dc1f25d03ebd3182fa122923a67aeee0aa598b36e603692333e4c9ccdc741fd456d96 SHA512 378deb1bc1d10a6b4912e5e4a0d6fcab28952e2e59c35fc879601841cf8160081b318a2598ef74db225e95f0f26483f6b9a56a348811b1ee7b8934391dd271ae
-DIST patch-4.14.307.xz 5028556 BLAKE2B eb14ce9c9ccf9234a0a0708bba43c7672b63ea038b05684320934ab2f842bc91bf6168e0947ad375a3188fb5d9e46ce5035f8b1b110fbf06a57cb2bd7a928dbc SHA512 51007dddec99e93853b23ef726bc9d28a369a22ff55ddd8f577d8391a7a944dab5cc63b24af5715b6309ce54c2574688888c604417cb5f630d57888a25ac5ef2
-DIST patch-4.19.275.xz 5127768 BLAKE2B 672a6eedb1681a2dde14a10703b26860b4b0be481f00142b025efff1f934edfef4452761b5ea8a67063021b7c455019e9f266b19785c3ec4c43087455dfb6ca1 SHA512 606beb21b3da2972e538e5c03bb6a138013167f0364356ac8af4e6e7300a4eeeba5102d4e6fb898e3b23701fff104ec6539bbecfd057c6959f9c2b0409e1dd1a
-DIST patch-5.4.234.xz 4579292 BLAKE2B 08d0a365963fba215e099e717e605d8c8a4cd542bafd76e76fd20454ca5c0c238d04a0e743a34f143b16abb6b3d2a927be017ce7d44c744781255bfcbf90f9d5 SHA512 4b88ec154a273589018fb525e9360cf9f03e47fc2f741c00fedf404a16320d927dd9a918e48520ca440fd19564927ef55155e8730226d81875372f5b93876dbe
-EBUILD mips-sources-4.14.307.ebuild 13016 BLAKE2B 59ebb0331f268e1d6e8b54845578a60505e59184d26194e4873788fe087b4fc5decccb67879589b63b9764005a81eba2a69f7a7e5c5f65d66855da4dc47eed6f SHA512 5ebd5fb7be6322063da37afc74d8aa9e182ab801789f76633fdae467eb01ecda8cb197ffdf93dbd102adee63382eb466b329f9b07086d95c12b8850c5f35b338
-EBUILD mips-sources-4.19.275.ebuild 12725 BLAKE2B c5135e68ff12dd7acf5e19f780227eb545f75b8c607d8e6f39484216c4f95b9b435c5e9a24049ad3429d195f49675304dfbcdf8108aeb27f8c4ade1645453fcc SHA512 a84739b422de3bdd166fc6baf02f38e56baa4258e6d3455ff753c65e3f2acfae27569e33d3bd0b08dd5efb4f0ada9f68f399444c7a1fdd13c5d64325bde7230e
-EBUILD mips-sources-5.4.234.ebuild 12413 BLAKE2B 9f093d35df5da0e940c8a494cfd358008ca10739e77084111971dcad55bedb4da5c9e66239c5a9e4a38c8cebb18e5cc5a6605a312c568cd3974aa6b411c9d737 SHA512 5e7249c28f3b6ecf679afc058156453c21f447254ee81ab348ca37a43dc9c8a4521d49049329b7d3294b847edd8ed67fd853d20bfd8e644644fde83b76f655fd
+DIST patch-4.19.307.xz 5902976 BLAKE2B 8de893e0f955297c9642e5cfd95629adf39365377060db10a0bbee097b29e8946bd3165f8107e4d0375d63671382d9bb0e132ebe6f0c2f797257f1a53d5339c0 SHA512 da9bdb720a3859abdfb487bb7e4da0d03d31424d87628b7fa0fa876f46b08385a8b25d926d2c1707492f67c55376159b0135e0b225fcd0ddf0d4c18d9512a161
+DIST patch-5.4.269.xz 5408364 BLAKE2B 766c86e1a688c635f35a746d9ce68ae94fc06abd99d9b2f3b3dcb18ef5d4af2c0eab0e5392353e54db3e4e0db95a61c5d3e2ebcc0f428816e0627710f28ba24c SHA512 87fdb5a5e35fd3c887b210b5f5264a409416702b86089bf7e02ac5999383fab2813b654e4516c0d8545f99f13648127b197e0d192c69bd7fb8df3b6ffbb3f3fa
+EBUILD mips-sources-4.19.307.ebuild 12725 BLAKE2B cae5d55fd13b62bb54b05b941e235fec2e1728dc93ea704619672f56f172a555d256654e2d051f82c28ddd1544080eb2b3d4cb8e9c754c37ae9975cdffb22467 SHA512 0980c2e14d79090a44f98ad95c807040fe67e9028130f513529e40a821649641a4bb84808f496c2365b17288a18e8ab4d8cec667f4eca127c3f92f12d3e51035
+EBUILD mips-sources-5.4.269.ebuild 12413 BLAKE2B 6a482bc4fd38f11b07cd18b62c834503900e507526f0629436d976547e200fa9434e2dd26b44a174a4e995090136dc8133f22b1fd2f654461e40982a064ceb82 SHA512 702951a4dd1a7740323c5fb9c5da44b1909f931e4e3a56c54f742d951267d3888b85a71779b330091066836725da17568fdfb7a2b5e27d9f9e4585e01ef4c2cb
MISC metadata.xml 910 BLAKE2B 06f7ee5db907b2cea7fc43b5220a9c3e33d147cf7c20baa4d8d2c2d3636dd1de8cf9b24c0473f1f8ed2708cb1b32027a9da40697f01a399401706991eea8c952 SHA512 6ab36d5e9a9bdb3a8589d3de1fe5fc3b993a7acde9f2c8a7bf5d006dda5528bd7107a03cfa958549b0fab772af391555da11f769bb7230d1ea9b2ca4cfdc1958
diff --git a/sys-kernel/mips-sources/mips-sources-4.14.307.ebuild b/sys-kernel/mips-sources/mips-sources-4.14.307.ebuild
deleted file mode 100644
index 1660934245c9..000000000000
--- a/sys-kernel/mips-sources/mips-sources-4.14.307.ebuild
+++ /dev/null
@@ -1,352 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# EAPI Version
-EAPI="8"
-
-#//------------------------------------------------------------------------------
-
-# Version Data
-GITDATE="20180128" # Date of diff between kernel.org and lmo GIT
-GENPATCHREV="4" # Tarball revision for patches
-
-# Directories
-S="${WORKDIR}/linux-${OKV}-${GITDATE}"
-MIPS_PATCHES="${WORKDIR}/mips-patches"
-
-# Kernel-2 Vars
-K_SECURITY_UNSUPPORTED="yes"
-K_NOUSENAME="yes"
-K_NOSETEXTRAVERSION="yes"
-K_NOUSEPR="yes"
-K_BASE_VER="4.13"
-K_FROM_GIT="yes"
-ETYPE="sources"
-
-# Inherit Eclasses
-inherit kernel-2
-detect_version
-
-# Version Data
-F_KV="${PVR}"
-BASE_KV="$(ver_cut 1-2).0"
-[[ "${EXTRAVERSION}" = -rc* ]] && KVE="${EXTRAVERSION}"
-
-# Portage Vars
-HOMEPAGE="https://wiki.gentoo.org/wiki/Project:MIPS"
-KEYWORDS="-* ~mips"
-IUSE="experimental ip27 ip28 ip30 symlink"
-
-# Specify any patches or patch familes to NOT apply here.
-# Use only the 4-digit number followed by a '*'.
-P_EXCLUDE=""
-
-# Machine Support Control Variables
-DO_IP22="test" # If "yes", enable IP22 support (SGI Indy, Indigo2 R4x00)
-DO_IP27="yes" # IP27 support (SGI Origin)
-DO_IP28="test" # IP28 support (SGI Indigo2 Impact R10000)
-DO_IP30="yes" # IP30 support (SGI Octane)
-DO_IP32="yes" # IP32 support (SGI O2, R5000/RM5200 Only)
-
-# Machine Stable Version Variables
-SV_IP22="" # If set && DO_IP22 == "no", indicates last "good" IP22 version
-SV_IP27="" # DO_IP27 == "no", IP27
-SV_IP28="" # DO_IP28 == "no", IP28
-SV_IP30="" # DO_IP30 == "no", IP30
-SV_IP32="" # DO_IP32 == "no", IP32
-
-DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}"
-SRC_URI="${KERNEL_URI}
- https://dev.gentoo.org/~kumba/distfiles/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz
- https://dev.gentoo.org/~kumba/distfiles/${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-
-UNIPATCH_STRICTORDER="yes"
-UNIPATCH_LIST="${DISTDIR}/mipsgit-${BASE_KV}${KVE}-${GITDATE}.diff.xz"
-
-#//------------------------------------------------------------------------------
-
-err_disabled_mach() {
- # Get args
- local m_name="${1}"
- local m_abbr="${2}"
- local m_use="${3}"
- local is_test="${4}"
-
- # Get stable version, if exists
- local stable_ver="SV_${m_abbr}"
- stable_ver="${!stable_ver}"
-
- # See if this machine needs a USE passed or skip dying
- local has_use
- [[ "${m_use}" != "skip" ]] \
- && has_use="USE=\"${m_use}\" "
-
- # Print error && (maybe) die
- echo -e ""
- if [[ "${is_test}" != "test" ]]; then
- eerror "${m_name} Support has been disabled in this ebuild"
- eerror "revision. If you wish to merge ${m_name} sources, then"
- eerror "run ${has_use}emerge =mips-sources-${stable_ver}"
- [[ "${m_use}" != "skip" ]] \
- && die "${m_name} Support disabled."
- else
- ewarn "${m_name} Support has been marked as needing testing in this"
- ewarn "ebuild revision. This usually means that any patches to support"
- ewarn "${m_name} have been forward ported and maybe even compile-tested,"
- ewarn "but not yet booted on real hardware, possibly due to a lack of access"
- ewarn "to such hardware. If you happen to boot this kernel and have no"
- ewarn "problems at all, then please inform the maintainer. Otherwise, if"
- ewarn "experience a bug, an oops/panic, or some other oddity, then please"
- ewarn "file a bug at bugs.gentoo.org, and assign it to the mips team."
- fi
-
- return 0
-}
-
-err_only_one_mach_allowed() {
- echo -e ""
- eerror "A patchset for a specific machine-type has already been selected."
- eerror "No other patches for machines-types are permitted. You will need a"
- eerror "separate copy of the kernel sources for each different machine-type"
- eerror "you want to build a kernel for."
- die "Only one machine-type patchset allowed"
-}
-
-fkv_to_machtype() {
- # For any machines that use external patches, we rename the source
- # tree to match the machine type.
- local fkv="${F_KV%-*}"
- local v="${fkv}"
- for x in {ip27,ip28,ip30}; do
- use ${x} && v="${v}.${x}" && break
- done
-
- echo "${v}"
-}
-
-pkg_postinst() {
- if ! use symlink; then
- return 0
- fi
-
- local kern_sym="/usr/src/linux"
-
- # Check that /usr/src/linux is safe to overwrite
- if [[ -e "${kern_sym}" && ! -L "${kern_sym}" ]]; then
- die "${kern_sym} already exists, but is not a symbolic link"
- fi
-
- # Symlink /usr/src/linux as appropriate
- local kern_ver=$(fkv_to_machtype)
- ln -snf "linux-${kern_ver}" "${kern_sym}"
-}
-
-pkg_setup() {
- local arch_is_selected="no"
- local m_ip m_enable m_name
-
- # Exclusive machine patchsets
- # These are not allowed to be mixed together, thus only one of them may be applied
- # to a tree per merge.
- for x in \
- "ip27 SGI Origin 200/2000" \
- "ip28 SGI Indigo2 Impact R10000" \
- "ip30 SGI Octane"
- do
- set -- ${x} # Set positional params
- m_ip="${1}" # Grab the first param (HW IP for SGI)
- shift # Shift the positions
- m_name="${*}" # Get the rest (Name)
-
- if ! use ${m_ip}; then
- continue
- fi
-
- # Fetch the value indiciating if the machine is enabled or not
- m_enable="DO_${m_ip/ip/IP}"
- m_enable="${!m_enable}"
-
- # Make sure only one of these exclusive machine patches is selected
- [[ "${arch_is_selected}" = "no" ]] \
- && arch_is_selected="yes" \
- || err_only_one_mach_allowed
-
- # Is the machine support disabled or marked as needing testing?
- case "${m_enable}" in
- "test") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" "test" ;;
- "no") err_disabled_mach "${m_name}" "${m_ip/ip/IP}" "${m_ip}" ;;
- esac
-
- # Show relevant information about the machine
- show_${m_ip}_info
- done
-
- # All other systems that don't have a USE flag go here
- # These systems have base-line support included in linux-mips git, so
- # instead of failing, if disabled, we simply warn the user
- if [[ "${arch_is_selected}" = "no" ]]; then
- [[ "${DO_IP22}" = "no" ]] \
- && err_disabled_mach "SGI Indy/Indigo2 R4x00" "IP22" "skip" \
- || show_ip22_info
- [[ "${DO_IP32}" = "no" ]] \
- && err_disabled_mach "SGI O2" "IP32" "skip" \
- || show_ip32_info
-
- fi
-}
-
-show_ip22_info() {
- echo -e ""
- einfo "IP22 systems with an R5000 processor should work with this release."
- einfo "The R4x00 series of processors tend to be rather flaky, especially the"
- einfo "R4600. If you have to run an R4x00 processor, then try to use an R4400."
- einfo ""
- einfo "Some Notes:"
- einfo "\t- Supported graphics card right now is Newport (XL)."
- einfo "\t- A driver for Extreme (XZ) does not exist at present."
- echo -e ""
-}
-
-show_ip27_info() {
- echo -e ""
- ewarn "IP27 Origin 2k/Onyx2 systems may be prone to sudden hard lockups."
- ewarn "The exact trigger is unknown at this time."
- echo -e ""
-}
-
-show_ip28_info() {
- echo -e ""
- einfo "Support for the Indigo2 Impact R10000 is now in the mainline kernel. However,"
- einfo "due to the R10000 Speculative Execution issue that exists with this machine,"
- einfo "nothing is guaranteed to work correctly. Consider enabling ${HILITE}CONFIG_KALLSYMS${NORMAL}"
- einfo "in your kernel so that if the machine Oopes, you'll be able to provide valuable"
- einfo "feedback that can be used to trace down the crash."
- echo -e ""
-}
-
-show_ip30_info() {
- echo -e ""
- eerror "Things that DON'T work:"
- eerror "\t- Do not use CONFIG_SLUB, otherwise, you'll get errors when booting"
- eerror "\t\040\040regarding duplicate /sys/kernel/slab/* entries in sysfs."
- eerror "\t- Impact (MGRAS) Xorg driver no longer functions due to severe bitrot."
- eerror "\t- Octane is limited to a maximum of 2GB of memory right now due to a"
- eerror "\t\040\040hardware quirk in the BRIDGE PCI chip that limits BRIDGE DMA"
- eerror "\t\040\040addresses to 31-bits when converted into physical addresses."
- eerror "\t\040\040Patches that attempt to fix the issue are highly welcome."
- echo -e ""
- ewarn "Things that might work, but have problems, or are unknown:"
- ewarn "\t- CONFIG_TRANSPARENT_HUGEPAGE should work now, but there may still be"
- ewarn "\t\040\040intermittent issues. Additionally, CONFIG_HUGETLBFS must also be"
- ewarn "\t\040\040selected for hugepages to work. If use of this feature continues"
- ewarn "\t\040\040to trigger random Instruction Bus Errors (IBEs), then it is best to"
- ewarn "\t\040\040disable the functionality and perform a cold reset of the machine"
- ewarn "\t\040\040after powering it down for at least 30 seconds."
- ewarn "\t- Serial support on the Octane uses a very basic UART driver that drives"
- ewarn "\t\040\040the 16550A chip on the IOC3 directly. It does not use interrupts,"
- ewarn "\t\040\040only a polling routine on a timer, which makes it slow and CPU-"
- ewarn "\t\040\040intensive. The baud rate is limited to no more than 38.4kbps on"
- ewarn "\t\040\040this driver. Patches for getting the Altix IOC3 serial driver to"
- ewarn "\t\040\040work (which uses DMA and supports faster baud rates) are welcome."
- ewarn "\t- UHCI Cards are known to have issues, but should still function."
- ewarn "\t\040\040This issue primarily manifests itself when using pl2303 USB->Serial"
- ewarn "\t\040\040adapters."
- ewarn "\t- MENET boards appear to have the four ethernet ports detected, however"
- ewarn "\t\040\040the six serial ports don't appear to get picked up by the IOC3"
- ewarn "\t\040\040UART driver. The NIC part number is also not read correctly"
- ewarn "\t\040\040from the four Number-In-a-Cans. Additional testing would be"
- ewarn "\t\040\040appreciated and patches welcome."
- ewarn "\t- Other XIO-based devices, like various Impact addons, remain untested"
- ewarn "\t\040\040and are not guaranteed to work. This applies to various digital"
- ewarn "\t\040\040video conversion boards as well."
- echo -e ""
- einfo "Things that DO work:"
- einfo "\t- SMP works again, celebrate!"
- einfo "\t- Impact (MGRAS) console only."
- einfo "\t- VPro (Odyssey) console only (no X driver exists yet)."
- einfo "\t- PCI Card Cages should work for many devices, except certain types like"
- einfo "\t\040\040PCI-to-PCI bridges (USB hubs, USB flash card readers for example)."
- einfo "\t- SCSI, RTC, basic PCI, IOC3 Ethernet, keyboard, and mouse. Please"
- einfo "\t\040\040report any problems with these devices."
- echo -e ""
-}
-
-show_ip32_info() {
- echo -e ""
- einfo "IP32 systems function well, however there are some notes:"
- einfo "\t- A sound driver now exists for IP32. Celebrate!"
- einfo "\t- Framebuffer console is limited to 4MB. Anything greater"
- einfo "\t\040\040specified when building the kernel will likely oops"
- einfo "\t\040\040or panic the kernel."
- einfo "\t- X support is limited to the generic fbdev driver. No X"
- einfo "\t\040\040gbefb driver exists for O2 yet. Feel free to submit"
- einfo "\t\040\040patches!"
- echo -e ""
-
- einfo "To Build 64bit kernels for SGI O2 (IP32) or SGI Indy/Indigo2 R4x00 (IP22)"
- einfo "systems, you need to use the ${GOOD}vmlinux.32${NORMAL} make target."
- einfo "Once done, boot the ${GOOD}vmlinux.32${NORMAL} file (NOT vmlinux)."
-}
-
-src_unpack() {
- # Unpack the kernel sources, update to the latest rev (if needed),
- # and apply the latest patch from linux-mips git.
- kernel-2_src_unpack
-
- # Unpack the mips-sources patchset to ${WORKDIR}/mips-patches-${BASE_KV}.
- echo -e ""
- cd "${WORKDIR}"
- unpack "${PN}-${BASE_KV}-patches-v${GENPATCHREV}.tar.xz"
-
- # Create a new folder called 'patch-symlinks' and create symlinks to
- # all mips-patches in there. If we want to exclude a patch, we'll
- # just delete the symlink instead of the actual patch.
- mkdir patch-symlinks
- cd patch-symlinks
- for x in ../mips-patches-${BASE_KV}/*.patch; do
- ln -s "${x}" "${x##../mips-patches-*/}"
- done
-
- # With symlinks created, setup the variables referencing external
- # machine patches and if a machine USE flag is enabled, then unset
- # its corresponding variable.
- # See 0000_README for the patch numbers and their meanings.
- local p_generic="51*"
- local p_ip27="52*" p_ip28="53*" p_ip30="54*"
- local p_xp="80*"
- use ip27 && unset p_generic p_ip27
- use ip28 && unset p_ip28
- use ip30 && unset p_generic p_ip30
- use experimental && unset p_xp
-
- # Remove symlinks for any patches that we don't want applied. We
- # do this by looping through all the above variables, and deleting
- # matching symlinks that point to the corresponding patches.
- # The remaining symlinks will be applied to the kernel source.
- #
- # $P_EXCLUDE is a new var that can be set in an ebuild to exclude
- # specific patches by wildcarding the patch number.
- local patchlist="${p_generic} ${p_ip27} ${p_ip28} ${p_ip30} ${p_xp} ${P_EXCLUDE}"
- for x in $patchlist;
- do rm -f "./${x}"
- done
-
- # Rename the source tree, if needed.
- local old="${WORKDIR}/linux-${F_KV%-*/_/-}"
- local new="${WORKDIR}/linux-$(fkv_to_machtype)"
- if [[ "${old}" != "${new}" ]]; then
- mv "${old}" "${new}" || die
- fi
- S="${new}"
-
- # Set the EXTRAVERSION to linux-VERSION-mipsgit-GITDATE
- EXTRAVERSION="${EXTRAVERSION}-mipsgit-${GITDATE}"
- unpack_set_extraversion
-}
-
-src_prepare() {
- # Apply patches to the kernel tree.
- eapply "${WORKDIR}/patch-symlinks"/
-
- eapply_user
-}
diff --git a/sys-kernel/mips-sources/mips-sources-4.19.275.ebuild b/sys-kernel/mips-sources/mips-sources-4.19.307.ebuild
index 92e1f1eb1fde..9e20128b1f36 100644
--- a/sys-kernel/mips-sources/mips-sources-4.19.275.ebuild
+++ b/sys-kernel/mips-sources/mips-sources-4.19.307.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# EAPI Version
diff --git a/sys-kernel/mips-sources/mips-sources-5.4.234.ebuild b/sys-kernel/mips-sources/mips-sources-5.4.269.ebuild
index 9301b2c7c72c..2d77ca6425d8 100644
--- a/sys-kernel/mips-sources/mips-sources-5.4.234.ebuild
+++ b/sys-kernel/mips-sources/mips-sources-5.4.269.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# EAPI Version