Linux kernel drivers maintained by Kernelkit, built as external modules. The primary consumer is Infix, but nothing here depends on it.
| Option | Module(s) | Description |
|---|---|---|
MOD_NET_DSA_PASW |
pasw, tag_pasw, pasw-* |
DSA driver for Packet Architects' FlexSwitch, see its README |
MOD_NET_ETH_XDMA_NET |
xdma-net |
Net device on the AMD/Xilinx XDMA (PG195), see its README |
MOD_PTP_PG210_PTP |
pg210-ptp |
PHC driver for the Timer Syncer in AMD/Xilinx PG210, see its README |
- A configured and built kernel tree. Some modules use kernel-internal
headers, so your distribution's
linux-headerspackage is not enough - Python 3 with PyYAML, for
pasw, which generates parts of its source at build time kconfig-mconffromkconfig-frontends, only formake menuconfig
Select modules with make menuconfig, enable all of them with make allmodconfig, or set the options directly:
make KDIR=/path/to/linux MOD_NET_DSA_PASW=m MOD_PTP_PG210_PTP=m
make KDIR=/path/to/linux INSTALL_MOD_PATH=/path/to/rootfs installNothing is built unless at least one option is set to m.
| Variable | Default | Purpose |
|---|---|---|
KDIR |
/lib/modules/$(uname -r)/build |
Configured and built kernel tree |
MO |
. |
Directory holding the module .config |
Cross-compiling works as for any external module: pass ARCH and
CROSS_COMPILE. make install runs modules_install, which honors
INSTALL_MOD_PATH.
Place it where it would live in the kernel tree, e.g.,
drivers/net/phy/foo/, with a Kconfig and a Makefile keyed on
MOD_<SYMBOL>, and hook both into the parent directory's files.
Symbols are tristate and depends on m. See CONTRIBUTING
for how to submit changes.