Source-Changes-HG archive

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

[src/trunk]: src/sys/modules Add module build infrastructure for ld and its a...



details:   https://anonhg.NetBSD.org/src/rev/4979eff9086d
branches:  trunk
changeset: 347967:4979eff9086d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Sep 27 03:53:06 2016 +0000

description:
Add module build infrastructure for ld and its attachments

diffstat:

 sys/modules/Makefile                     |  40 ++++++++++++++++++++++++++++++-
 sys/modules/aac/Makefile                 |  12 +++++++++
 sys/modules/aac/aac.ioconf               |  10 ++++++++
 sys/modules/amr/Makefile                 |  12 +++++++++
 sys/modules/amr/amr.ioconf               |  10 ++++++++
 sys/modules/ataraid/Makefile             |  19 +++++++++++++++
 sys/modules/ataraid/ataraid.ioconf       |   8 ++++++
 sys/modules/cac/Makefile                 |  14 +++++++++++
 sys/modules/cac/cac.ioconf               |  10 ++++++++
 sys/modules/cac_eisa/Makefile            |  12 +++++++++
 sys/modules/cac_eisa/cac_eisa.ioconf     |  10 ++++++++
 sys/modules/cac_pci/Makefile             |  12 +++++++++
 sys/modules/cac_pci/cac_pci.ioconf       |  10 ++++++++
 sys/modules/if_vioif/Makefile            |  12 +++++++++
 sys/modules/if_vioif/if_vioif.ioconf     |  10 ++++++++
 sys/modules/ld/Makefile                  |  11 ++++++++
 sys/modules/ld_aac/Makefile              |  12 +++++++++
 sys/modules/ld_aac/ld_aac.ioconf         |  10 ++++++++
 sys/modules/ld_amr/Makefile              |  12 +++++++++
 sys/modules/ld_amr/ld_amr.ioconf         |  10 ++++++++
 sys/modules/ld_ataraid/Makefile          |  14 +++++++++++
 sys/modules/ld_ataraid/ld_ataraid.ioconf |  10 ++++++++
 sys/modules/ld_cac/Makefile              |  14 +++++++++++
 sys/modules/ld_cac/ld_cac.ioconf         |  10 ++++++++
 sys/modules/ld_icp/Makefile              |  14 +++++++++++
 sys/modules/ld_icp/ld_icp.ioconf         |  10 ++++++++
 sys/modules/ld_mlx/Makefile              |  12 +++++++++
 sys/modules/ld_mlx/ld_mlx.ioconf         |  10 ++++++++
 sys/modules/ld_nvme/Makefile             |  12 +++++++++
 sys/modules/ld_nvme/ld_nvme.ioconf       |  10 ++++++++
 sys/modules/ld_sdmmc/Makefile            |  12 +++++++++
 sys/modules/ld_sdmmc/ld_sdmmc.ioconf     |  10 ++++++++
 sys/modules/ld_twa/Makefile              |  12 +++++++++
 sys/modules/ld_twa/ld_twa.ioconf         |  10 ++++++++
 sys/modules/ld_twe/Makefile              |  12 +++++++++
 sys/modules/ld_twe/ld_twe.ioconf         |  10 ++++++++
 sys/modules/ld_virtio/Makefile           |  14 +++++++++++
 sys/modules/ld_virtio/ld_virtio.ioconf   |  10 ++++++++
 sys/modules/mlx/Makefile                 |  14 +++++++++++
 sys/modules/mlx/mlx.ioconf               |  10 ++++++++
 sys/modules/mlx_eisa/Makefile            |  12 +++++++++
 sys/modules/mlx_eisa/mlx_eisa.ioconf     |  10 ++++++++
 sys/modules/mlx_pci/Makefile             |  12 +++++++++
 sys/modules/mlx_pci/mlx_pci.ioconf       |  10 ++++++++
 sys/modules/nvme/Makefile                |   7 +----
 sys/modules/nvme/nvme.ioconf             |   3 +-
 sys/modules/twa/Makefile                 |  14 +++++++++++
 sys/modules/twa/twa.ioconf               |  10 ++++++++
 sys/modules/twe/Makefile                 |  14 +++++++++++
 sys/modules/twe/twe.ioconf               |  10 ++++++++
 sys/modules/viomb/Makefile               |  12 +++++++++
 sys/modules/viomb/viomb.ioconf           |  10 ++++++++
 sys/modules/virtio/Makefile              |  14 +++++++++++
 sys/modules/virtio/virtio.ioconf         |  10 ++++++++
 54 files changed, 625 insertions(+), 9 deletions(-)

diffs (truncated from 926 to 300 lines):

diff -r d8446624f852 -r 4979eff9086d sys/modules/Makefile
--- a/sys/modules/Makefile      Tue Sep 27 03:33:32 2016 +0000
+++ b/sys/modules/Makefile      Tue Sep 27 03:53:06 2016 +0000
@@ -1,16 +1,21 @@
-#      $NetBSD: Makefile,v 1.177 2016/09/16 11:35:07 jdolecek Exp $
+#      $NetBSD: Makefile,v 1.178 2016/09/27 03:53:06 pgoyette Exp $
 
 .include <bsd.own.mk>
 
 # For all platforms
 
-SUBDIR=                accf_dataready
+SUBDIR=                aac
+SUBDIR+=       accf_dataready
 SUBDIR+=       accf_httpready
 SUBDIR+=       adosfs
 SUBDIR+=       aio
+SUBDIR+=       amr
+SUBDIR+=       ataraid
 SUBDIR+=       blowfish
 SUBDIR+=       bpf
 SUBDIR+=       bpf_filter
+SUBDIR+=       cac
+SUBDIR+=       cac_pci
 SUBDIR+=       camellia
 SUBDIR+=       cast128
 SUBDIR+=       ccd
@@ -62,11 +67,23 @@
 SUBDIR+=       if_stf
 SUBDIR+=       if_strip
 SUBDIR+=       if_tun tun
+SUBDIR+=       if_vioif
 SUBDIR+=       if_vlan
 SUBDIR+=       iic
 SUBDIR+=       ipl
 SUBDIR+=       kernfs
 SUBDIR+=       layerfs
+SUBDIR+=       ld
+SUBDIR+=       ld_aac
+SUBDIR+=       ld_amr
+SUBDIR+=       ld_ataraid
+SUBDIR+=       ld_cac
+SUBDIR+=       ld_icp
+SUBDIR+=       ld_mlx
+SUBDIR+=       ld_sdmmc
+SUBDIR+=       ld_twa
+SUBDIR+=       ld_twe
+SUBDIR+=       ld_virtio
 SUBDIR+=       lfs
 SUBDIR+=       lua
 SUBDIR+=       luasystm
@@ -74,6 +91,8 @@
 SUBDIR+=       mfs
 SUBDIR+=       miiverbose
 SUBDIR+=       miniroot
+SUBDIR+=       mlx
+SUBDIR+=       mlx_pci
 SUBDIR+=       mqueue
 SUBDIR+=       msdos
 SUBDIR+=       nand
@@ -123,12 +142,16 @@
 SUBDIR+=       swsensor
 SUBDIR+=       swwdog
 SUBDIR+=       tmpfs
+SUBDIR+=       twa
+SUBDIR+=       twe
 SUBDIR+=       uatp
 SUBDIR+=       udf
 SUBDIR+=       umap
 SUBDIR+=       union
 SUBDIR+=       usbverbose
 SUBDIR+=       vcoda
+SUBDIR+=       viomb
+SUBDIR+=       virtio
 SUBDIR+=       v7fs
 SUBDIR+=       vnd
 SUBDIR+=       wapbl
@@ -183,6 +206,7 @@
 .if ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "x86_64"
 SUBDIR+=       ubsec           # Builds on architectures with PCI bus
+SUBDIR+=       ld_nvme
 SUBDIR+=       nvme
 .endif
 
@@ -304,6 +328,18 @@
 SUBDIR+=       pwdog
 .endif
 
+#
+# eisa bus modules
+#
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "alpha" || \
+    ${MACHINE_ARCH} == "hppa" || \
+    ${MACHINE_ARCH} == "prep" || \
+    ${MACHINE_ARCH} == "sgimips"
+SUBDIR+=       cac_eisa
+SUBDIR+=       mlx_eisa
+.endif
+
 .include <bsd.own.mk>
 
 #
diff -r d8446624f852 -r 4979eff9086d sys/modules/aac/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/aac/Makefile  Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:06 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/ic
+
+KMOD=  aac
+IOCONF=        aac.ioconf
+
+SRCS+= aac.c
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/aac/aac.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/aac/aac.ioconf        Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: aac.ioconf,v 1.1 2016/09/27 03:53:06 pgoyette Exp $
+
+ioconf aac
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+aac* at pci ? dev ? function ?
diff -r d8446624f852 -r 4979eff9086d sys/modules/amr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amr/Makefile  Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:06 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/pci
+
+KMOD=  amr
+IOCONF=        amr.ioconf
+
+SRCS+= amr.c
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/amr/amr.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/amr/amr.ioconf        Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: amr.ioconf,v 1.1 2016/09/27 03:53:06 pgoyette Exp $
+
+ioconf amr
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+amr* at pci? dev ? function ?
diff -r d8446624f852 -r 4979eff9086d sys/modules/ataraid/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/ataraid/Makefile      Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,19 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/ata
+
+KMOD=  ataraid
+IOCONF=        ataraid.ioconf
+
+SRCS+= ata_raid.c
+SRCS+= ata_raid_subr.c
+SRCS+= ata_raid_promise.c
+SRCS+= ata_raid_adaptec.c
+SRCS+= ata_raid_nvidia.c
+SRCS+= ata_raid_via.c
+SRCS+= ata_raid_jmicron.c
+SRCS+= ata_raid_intel.c
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/ataraid/ataraid.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/ataraid/ataraid.ioconf        Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,8 @@
+#       $NetBSD: ataraid.ioconf,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+ioconf ataraid
+
+include "conf/files"
+include "dev/ata/files.ata"
+
+pseudo-device ataraid
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac/Makefile  Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/ic
+
+KMOD=  cac
+IOCONF=        cac.ioconf
+
+SRCS+= cac.c
+
+CPPFLAGS+=     -DNBIO=1
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac/cac.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac/cac.ioconf        Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: cac.ioconf,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+ioconf cac
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+cac* at pci?
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac_eisa/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac_eisa/Makefile     Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/eisa
+
+KMOD=  cac_eisa
+IOCONF=        cac_eisa.ioconf
+
+SRCS+= cac_eisa.c
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac_eisa/cac_eisa.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac_eisa/cac_eisa.ioconf      Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: cac_eisa.ioconf,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+ioconf cac_eisa
+
+include "conf/files"
+include "dev/eisa/files.eisa"
+
+pseudo-root eisa*
+
+cac* at eisa? slot ?
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac_pci/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac_pci/Makefile      Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/pci
+
+KMOD=  cac_pci
+IOCONF=        cac_pci.ioconf
+
+SRCS+= cac_pci.c
+
+.include <bsd.kmodule.mk>
diff -r d8446624f852 -r 4979eff9086d sys/modules/cac_pci/cac_pci.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/cac_pci/cac_pci.ioconf        Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: cac_pci.ioconf,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+ioconf cac_pci
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+cac* at pci? dev ? function ?
diff -r d8446624f852 -r 4979eff9086d sys/modules/if_vioif/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_vioif/Makefile     Tue Sep 27 03:53:06 2016 +0000
@@ -0,0 +1,12 @@
+#      $NetBSD: Makefile,v 1.1 2016/09/27 03:53:07 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/pci



Home | Main Index | Thread Index | Old Index