app-emulation/la-ow-syscall: drop 0.1.0-r1
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
This commit is contained in:
1 parent
fb3f983519
commit
374c24aad9
2 files changed
-66
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST la_ow_syscall-1b837fd8bc99ea0cfd74e7d85bb4357542f5e1f2.zip 22052 BLAKE2B caaf5aabf0e41ad4740e0885f3eb11747191dc978302eee8873be4aaea299761449a137233c8625ee41e5b1968a0657695c7381445989aaf4cf094933e1a3632 SHA512 1f33116515ee9790fe8bf811033d917f921fe0d84dfe4284e23f11ab4f4b4b0600cbafddea5381fdbf39000ee30f6266adaaddb9e38d87059d246a7256118d76
|
||||
DIST liblol-dkms_0.1.1.tar.xz 18036 BLAKE2B 9d29d38654618d536fa18fe8be08d2f0028dd52755622371280e6acffaaa823b5f7f06f6b376ed1ba08b2e3e09f470f18c2bf5015dae27cce73ba4332ae5a928 SHA512 5603f5de831963ffe822f8e4475d49f5e4cbd913f130eefd94f09a5fe67046b3aea2ab9349146a36b732878a945e46dc01679ddc9ea5071668f9271dc17b1115
|
||||
@@ -1,65 +0,0 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod-r1
|
||||
|
||||
MODULES_KERNEL_MIN=6.1
|
||||
MY_COMMIT="1b837fd8bc99ea0cfd74e7d85bb4357542f5e1f2"
|
||||
|
||||
DESCRIPTION="Linux kernel module for compatibility with LoongArch's old-world ABI"
|
||||
HOMEPAGE="https://github.com/AOSC-Dev/la_ow_syscall"
|
||||
|
||||
case ${PV} in
|
||||
9999)
|
||||
EGIT_REPO_URI="https://github.com/AOSC-Dev/la_ow_syscall"
|
||||
inherit git-r3
|
||||
;;
|
||||
*)
|
||||
MY_P="la_ow_syscall-${MY_COMMIT}"
|
||||
SRC_URI="https://codeload.github.com/AOSC-Dev/la_ow_syscall/zip/${MY_COMMIT} -> ${MY_P}.zip"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
KEYWORDS="-* ~loong"
|
||||
;;
|
||||
esac
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
RESTRICT="mirror test"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
CONFIG_CHECK="
|
||||
KALLSYMS
|
||||
KPROBES
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
# otherwise the build script uses `uname -r` that will break if the
|
||||
# target kernel version differs from the running one
|
||||
export KVER="${KV_FULL}"
|
||||
|
||||
local modlist=(
|
||||
la_ow_syscall
|
||||
)
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
linux-mod-r1_src_install
|
||||
|
||||
insinto /usr/lib/modules-load.d
|
||||
doins "${FILESDIR}/la-ow-syscall.conf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
linux-mod-r1_pkg_postinst
|
||||
|
||||
elog "Be sure to load the kernel module before running any old-world program:"
|
||||
elog
|
||||
elog "# modprobe la_ow_syscall"
|
||||
elog
|
||||
elog "A config file has been installed under /usr/lib/modules-load.d for"
|
||||
elog "automatic loading of the compatibility patch on system start-up."
|
||||
}
|
||||
Reference in new issue
Block a user