-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c1d04c
commit bff9bb3
Showing
7 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
liblol-dkms (0.1.0) unstable; urgency=low | ||
|
||
* Initial build | ||
|
||
-- Miao Wang <shankerwangmiao@gmail.com> Sun, 28 Jan 2024 09:12:00 +0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Source: liblol-dkms | ||
Section: kernel | ||
Priority: extra | ||
Maintainer: Miao Wang <shankerwangmiao@gmail.com> | ||
Build-Depends: debhelper-compat (= 13), | ||
dkms, dh-dkms, | ||
Standards-Version: 4.6.2 | ||
Homepage: https://github.com/AOSC-Dev/la_ow_syscall | ||
|
||
Package: liblol-dkms | ||
Architecture: loong64 | ||
Depends: ${misc:Depends}, dkms | ||
Conflicts: glibc | ||
Description: Compatibility layer kmod for old world applications | ||
This package contains a compatibility layer for old world | ||
applications on new world loongarch64 platform. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dkms.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/usr/src/la_ow_syscall-*/* | ||
/usr/lib/modules-load.d/liblol.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Load the la_ow_syscall kernel module for old-world compatibility. | ||
la_ow_syscall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/make -f | ||
|
||
include /usr/share/dpkg/pkg-info.mk | ||
|
||
%: | ||
dh $@ --with dkms | ||
|
||
override_dh_auto_build: | ||
make dkms.conf VERSION="#MODULE_VERSION#" | ||
|
||
override_dh_auto_clean: | ||
rm -rf dkms.conf | ||
|
||
TMPDIR ?= debian/tmp | ||
|
||
override_dh_auto_install: | ||
install -Dvm644 \ | ||
Kbuild \ | ||
Makefile \ | ||
fsstat.c \ | ||
fsstat.h \ | ||
la_ow_syscall_main.c \ | ||
signal.c \ | ||
signal.h \ | ||
-t $(TMPDIR)/usr/src/la_ow_syscall-$(DEB_VERSION_UPSTREAM) | ||
install -Dvm644 \ | ||
debian/kmod-autoload.conf \ | ||
$(TMPDIR)/usr/lib/modules-load.d/liblol.conf | ||
|
||
override_dh_dkms: | ||
dh_dkms -V $(DEB_VERSION_UPSTREAM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (native) |