Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules aarch64: Build drm modules.



details:   https://anonhg.NetBSD.org/src/rev/264a42d23de3
branches:  trunk
changeset: 374218:264a42d23de3
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Tue Apr 11 10:30:41 2023 +0000

description:
aarch64: Build drm modules.

diffstat:

 distrib/sets/lists/debug/module.ad.aarch64 |  14 +++++++++++++-
 distrib/sets/lists/modules/ad.aarch64      |  14 +++++++++++++-
 sys/modules/Makefile                       |  15 ++++++++++-----
 3 files changed, 36 insertions(+), 7 deletions(-)

diffs (91 lines):

diff -r 35ffd223cd2a -r 264a42d23de3 distrib/sets/lists/debug/module.ad.aarch64
--- a/distrib/sets/lists/debug/module.ad.aarch64        Tue Apr 11 10:23:47 2023 +0000
+++ b/distrib/sets/lists/debug/module.ad.aarch64        Tue Apr 11 10:30:41 2023 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: module.ad.aarch64,v 1.5 2022/12/20 04:10:11 pgoyette Exp $
+# $NetBSD: module.ad.aarch64,v 1.6 2023/04/11 10:30:41 riastradh Exp $
+./usr/libdata/debug/@MODULEDIR@/amdgpu                         modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/amdgpu/amdgpu.kmod.debug       modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/bpfjit                         modules-base-kernel     kmod,sljit,debug
 ./usr/libdata/debug/@MODULEDIR@/bpfjit/bpfjit.kmod.debug               modules-base-kernel     kmod,sljit,debug
 ./usr/libdata/debug/@MODULEDIR@/compat_linux                   modules-base-kernel     kmod,debug
@@ -55,6 +57,16 @@
 ./usr/libdata/debug/@MODULEDIR@/compat_netbsd32_sysvipc_14/compat_netbsd32_sysvipc_14.kmod.debug       modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/compat_netbsd32_sysvipc_50     modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/compat_netbsd32_sysvipc_50/compat_netbsd32_sysvipc_50.kmod.debug       modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms                         modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms/drmkms.kmod.debug               modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_linux                   modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_linux/drmkms_linux.kmod.debug   modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_pci                     modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_pci/drmkms_pci.kmod.debug       modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_sched                   modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_sched/drmkms_sched.kmod.debug   modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_ttm                     modules-base-kernel     kmod,debug
+./usr/libdata/debug/@MODULEDIR@/drmkms_ttm/drmkms_ttm.kmod.debug       modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/exec_elf32                     modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/exec_elf32/exec_elf32.kmod.debug       modules-base-kernel     kmod,debug
 ./usr/libdata/debug/@MODULEDIR@/exec_elf64                     modules-base-kernel     kmod,debug
diff -r 35ffd223cd2a -r 264a42d23de3 distrib/sets/lists/modules/ad.aarch64
--- a/distrib/sets/lists/modules/ad.aarch64     Tue Apr 11 10:23:47 2023 +0000
+++ b/distrib/sets/lists/modules/ad.aarch64     Tue Apr 11 10:30:41 2023 +0000
@@ -1,4 +1,6 @@
-# $NetBSD: ad.aarch64,v 1.11 2022/12/20 04:10:11 pgoyette Exp $
+# $NetBSD: ad.aarch64,v 1.12 2023/04/11 10:30:41 riastradh Exp $
+./@MODULEDIR@/amdgpu                           modules-base-kernel     kmod
+./@MODULEDIR@/amdgpu/amdgpu.kmod               modules-base-kernel     kmod
 ./@MODULEDIR@/bpfjit                           modules-base-kernel     kmod,sljit
 ./@MODULEDIR@/bpfjit/bpfjit.kmod               modules-base-kernel     kmod,sljit
 ./@MODULEDIR@/compat_linux                     modules-base-kernel     kmod
@@ -59,6 +61,16 @@
 ./@MODULEDIR@/compat_netbsd32_sysvipc_14/compat_netbsd32_sysvipc_14.kmod       modules-base-kernel     kmod
 ./@MODULEDIR@/compat_netbsd32_sysvipc_50       modules-base-kernel     kmod
 ./@MODULEDIR@/compat_netbsd32_sysvipc_50/compat_netbsd32_sysvipc_50.kmod       modules-base-kernel     kmod
+./@MODULEDIR@/drmkms                           modules-base-kernel     kmod
+./@MODULEDIR@/drmkms/drmkms.kmod               modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_linux                     modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_linux/drmkms_linux.kmod   modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_pci                       modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_pci/drmkms_pci.kmod       modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_sched                     modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_sched/drmkms_sched.kmod   modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_ttm                       modules-base-kernel     kmod
+./@MODULEDIR@/drmkms_ttm/drmkms_ttm.kmod       modules-base-kernel     kmod
 ./@MODULEDIR@/exec_elf32                       modules-base-kernel     kmod
 ./@MODULEDIR@/exec_elf32/exec_elf32.kmod       modules-base-kernel     kmod
 ./@MODULEDIR@/exec_elf64                       modules-base-kernel     kmod
diff -r 35ffd223cd2a -r 264a42d23de3 sys/modules/Makefile
--- a/sys/modules/Makefile      Tue Apr 11 10:23:47 2023 +0000
+++ b/sys/modules/Makefile      Tue Apr 11 10:30:41 2023 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.275 2022/12/19 23:19:51 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.276 2023/04/11 10:30:41 riastradh Exp $
 
 .include <bsd.own.mk>
 
@@ -350,16 +350,21 @@ SUBDIR+=  viadrmums
 .endif
 
 .if ${MACHINE_ARCH} == "i386" || \
-    ${MACHINE_ARCH} == "x86_64"
+    ${MACHINE_ARCH} == "x86_64" || \
+    ${MACHINE_ARCH} == "aarch64"
 SUBDIR+=       amdgpu
-SUBDIR+=       compat_linux
-SUBDIR+=       drm
 SUBDIR+=       drmkms
-SUBDIR+=       drmkms_agp
 SUBDIR+=       drmkms_linux
 SUBDIR+=       drmkms_pci
 SUBDIR+=       drmkms_sched
 SUBDIR+=       drmkms_ttm
+.endif
+
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64"
+SUBDIR+=       drm
+SUBDIR+=       compat_linux
+SUBDIR+=       drmkms_agp
 SUBDIR+=       i915drm
 SUBDIR+=       i915drmkms
 #



Home | Main Index | Thread Index | Old Index