board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# Top-level build Makefile for opnsense-deps: the Mono Gateway board package
|
2026-02-25 00:58:56 +01:00
|
|
|
#
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# Build the mono-gateway package (kernel modules, userspace, configs):
|
2026-11-23 19:26:41 -05:00
|
|
|
# make -C /usr/deps package OPS_SETTINGS=26.7 OPS_VERSION=26.7.9
|
2026-02-25 00:58:56 +01:00
|
|
|
#
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# This needs the GATEWAY kernel build tree and a sysroot with the base set
|
|
|
|
|
# and libxml2 in it; release/build.sh prepares both and builds the whole
|
|
|
|
|
# OPNsense release around this package (see RELEASE.md).
|
2026-03-03 17:32:47 +01:00
|
|
|
#
|
2026-02-25 00:58:56 +01:00
|
|
|
# Build subsets:
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# make -C /usr/deps modules # kernel modules only
|
2026-03-14 20:36:45 +01:00
|
|
|
# make -C /usr/deps userspace # userspace only
|
2026-02-25 00:58:56 +01:00
|
|
|
#
|
|
|
|
|
# Parallel build (modules build concurrently):
|
2026-03-14 20:36:45 +01:00
|
|
|
# make -C /usr/deps -j24 all
|
2026-02-25 00:58:56 +01:00
|
|
|
#
|
|
|
|
|
# Copyright 2026 Mono Technologies Inc.
|
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
|
|
|
|
|
OPSDIR= ${.CURDIR}
|
|
|
|
|
FASTPATH= ${OPSDIR}/fastpath
|
|
|
|
|
DRIVERS= ${OPSDIR}/drivers
|
2026-03-05 16:17:10 +01:00
|
|
|
VENDORDIR?= ${OPSDIR}/_vendor
|
2026-02-25 00:58:56 +01:00
|
|
|
|
2026-03-14 20:36:45 +01:00
|
|
|
# Source and tooling paths (standard OPNsense layout)
|
|
|
|
|
SRCDIR?= /usr/src
|
|
|
|
|
TOOLSDIR?= /usr/tools
|
2026-03-03 17:32:47 +01:00
|
|
|
SYSROOT?= /usr/obj${SRCDIR}/arm64.aarch64/tmp
|
|
|
|
|
KERNBUILDDIR?= /usr/obj${SRCDIR}/arm64.aarch64/sys/GATEWAY
|
|
|
|
|
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# OPNsense series and release this package is built for. The FreeBSD
|
|
|
|
|
# release comes from the tools configuration of that series, so the
|
|
|
|
|
# compiler target and the package ABI always match the base system.
|
2026-11-23 19:26:41 -05:00
|
|
|
OPS_SETTINGS?= 26.7
|
|
|
|
|
OPS_VERSION?= # required for "package", e.g. 26.7.9
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
.if !defined(OSREL)
|
|
|
|
|
OSREL!= sed -n 's/^OS?*=[[:space:]]*//p' ${TOOLSDIR}/config/${OPS_SETTINGS}/build.conf 2>/dev/null || true
|
|
|
|
|
.endif
|
|
|
|
|
.if empty(OSREL)
|
|
|
|
|
.error Cannot read OS from ${TOOLSDIR}/config/${OPS_SETTINGS}/build.conf; set OSREL=
|
|
|
|
|
.endif
|
|
|
|
|
PKG_ABI= FreeBSD:${OSREL:R}:aarch64
|
|
|
|
|
CROSS_TARGET= --target=aarch64-unknown-freebsd${OSREL}
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
# Common args for all kernel module builds
|
2026-11-23 19:26:41 -05:00
|
|
|
# --target pins the FreeBSD release of the series
|
2026-03-05 16:17:10 +01:00
|
|
|
KMOD_ARGS= SYSDIR=${SRCDIR}/sys \
|
|
|
|
|
KERNBUILDDIR=${KERNBUILDDIR} \
|
2026-02-25 00:58:56 +01:00
|
|
|
MACHINE=arm64 MACHINE_ARCH=aarch64 \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
CC="cc ${CROSS_TARGET}" LD=ld.lld
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
# Local build directory for userspace components
|
|
|
|
|
BUILDDIR?= ${OPSDIR}/_build
|
|
|
|
|
|
|
|
|
|
# Output directory for all final artifacts
|
|
|
|
|
DISTDIR?= ${OPSDIR}/dist
|
|
|
|
|
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# Package version: the OPNsense release plus the commit count of this
|
|
|
|
|
# repository, e.g. "26.1.11_74". It grows with every commit and every
|
|
|
|
|
# release, so it always upgrades the previous package (including the
|
|
|
|
|
# vendor's "26.1.5_N" versions). Override: make package PKG_VERSION=...
|
Recover GitHub-generated patch distfiles; fix git ownership in the VM
The first pilot stopped building the host pkg: GitHub now abbreviates the
object names on the index lines of its generated commit patches with 10
digits instead of 9, so OPNsense's patches of ports-mgmt/pkg no longer
match distinfo, and nothing caches OPNsense's own distfiles.
- release/fetch-patch.sh: FETCH_CMD that, when fetch(1) fails for a
GitHub commit/pull/compare patch, shortens the abbreviations until the
size matches; the port's checksum target verifies the SHA256.
- build.sh: run tools' distfiles step on its own, repair the ports it
could not fetch on the host into the distfiles set, and rerun it; the
pilot fetches its ports' distfiles too; host pkg uses the wrapper.
- vm.sh sync: files owned by root in the VM. They kept the workstation's
uid, git refused the "dubious" repository, and that defeated the dirty
check silently. build.sh now fails when git cannot read /usr/deps, and
the package target refuses a version without the commit count.
- migrate-device.sh: FreeBSD grep rejects the empty alternative in the
fingerprint file check, so it failed on every device. Found by running
release/tests on the build VM, now part of the documented test run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:43:10 -05:00
|
|
|
_PKG_REV!= git -C ${OPSDIR} rev-list --count HEAD 2>/dev/null || true
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
PKG_VERSION?= ${OPS_VERSION}_${_PKG_REV}
|
2026-02-27 13:19:20 +01:00
|
|
|
PKG_STAGEDIR= ${BUILDDIR}/pkg-stage
|
|
|
|
|
PKG_CONFDIR= ${OPSDIR}/config
|
|
|
|
|
PKG_RCDDIR= ${OPSDIR}/rc.d
|
|
|
|
|
PKG_METADIR= ${OPSDIR}/pkg
|
|
|
|
|
|
2026-02-25 00:58:56 +01:00
|
|
|
# ============================================================
|
|
|
|
|
# Top-level targets
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
2026-03-14 15:07:06 +01:00
|
|
|
all: modules userspace
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
# ============================================================
|
|
|
|
|
# Kernel modules (all independent — safe for -j)
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
|
|
KMOD_CDX= ${FASTPATH}/cdx
|
|
|
|
|
KMOD_FCI= ${FASTPATH}/fci
|
|
|
|
|
KMOD_AB= ${FASTPATH}/auto_bridge
|
|
|
|
|
KMOD_PN= ${FASTPATH}/pf_notify
|
|
|
|
|
KMOD_EMC= ${DRIVERS}/emc2302
|
|
|
|
|
KMOD_INA= ${DRIVERS}/ina2xx
|
|
|
|
|
KMOD_LP= ${DRIVERS}/lp5812
|
|
|
|
|
KMOD_SFP= ${DRIVERS}/sfp-led
|
2026-03-02 12:35:51 +01:00
|
|
|
KMOD_PCF= ${DRIVERS}/pcf2131
|
|
|
|
|
KMOD_CAAM= ${DRIVERS}/caam
|
2026-03-03 01:42:55 +01:00
|
|
|
KMOD_TMP= ${DRIVERS}/tmp431
|
2026-03-05 16:17:10 +01:00
|
|
|
KMOD_MWIFI= ${DRIVERS}/mwifiex
|
|
|
|
|
KMOD_DW= ${DRIVERS}/dpaa_wifi
|
|
|
|
|
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
# NXP vendor repositories (pinned commits for reproducible builds); Forgejo
|
|
|
|
|
# pull mirrors of github.com/nxp-imx/{mwifiex,imx-firmware}
|
|
|
|
|
MWIFIEX_REPO?= https://code.karsttech.com/claude/mwifiex.git
|
2026-03-05 16:17:10 +01:00
|
|
|
MWIFIEX_COMMIT= 84ca65c9ff935d7f2999af100a82531c22c65234
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
IMX_FW_REPO?= https://code.karsttech.com/claude/imx-firmware.git
|
2026-03-05 16:17:10 +01:00
|
|
|
IMX_FW_COMMIT= 8c9b278016c97527b285f2fcbe53c2d428eb171d
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
build-cdx:
|
|
|
|
|
${MAKE} -C ${KMOD_CDX} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-fci:
|
|
|
|
|
${MAKE} -C ${KMOD_FCI} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-auto_bridge:
|
|
|
|
|
${MAKE} -C ${KMOD_AB} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-pf_notify:
|
|
|
|
|
${MAKE} -C ${KMOD_PN} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-emc2302:
|
|
|
|
|
${MAKE} -C ${KMOD_EMC} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-ina2xx:
|
|
|
|
|
${MAKE} -C ${KMOD_INA} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-lp5812:
|
|
|
|
|
${MAKE} -C ${KMOD_LP} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-sfpled:
|
|
|
|
|
${MAKE} -C ${KMOD_SFP} ${KMOD_ARGS}
|
|
|
|
|
|
2026-03-02 12:35:51 +01:00
|
|
|
build-pcf2131:
|
|
|
|
|
${MAKE} -C ${KMOD_PCF} ${KMOD_ARGS}
|
|
|
|
|
|
|
|
|
|
build-caam:
|
|
|
|
|
${MAKE} -C ${KMOD_CAAM} ${KMOD_ARGS}
|
|
|
|
|
|
2026-03-03 01:42:55 +01:00
|
|
|
build-tmp431:
|
|
|
|
|
${MAKE} -C ${KMOD_TMP} ${KMOD_ARGS}
|
|
|
|
|
|
2026-03-05 16:17:10 +01:00
|
|
|
fetch-vendor:
|
|
|
|
|
@mkdir -p ${VENDORDIR}
|
|
|
|
|
@if [ ! -d ${VENDORDIR}/mwifiex/.git ]; then \
|
|
|
|
|
echo "==> Cloning nxp-imx/mwifiex"; \
|
|
|
|
|
git clone --depth 1 ${MWIFIEX_REPO} ${VENDORDIR}/mwifiex; \
|
|
|
|
|
cd ${VENDORDIR}/mwifiex && git fetch --depth 1 origin ${MWIFIEX_COMMIT} && git checkout ${MWIFIEX_COMMIT}; \
|
|
|
|
|
fi
|
|
|
|
|
@if [ ! -d ${VENDORDIR}/imx-firmware/.git ]; then \
|
|
|
|
|
echo "==> Cloning nxp-imx/imx-firmware"; \
|
|
|
|
|
git clone --depth 1 ${IMX_FW_REPO} ${VENDORDIR}/imx-firmware; \
|
|
|
|
|
cd ${VENDORDIR}/imx-firmware && git fetch --depth 1 origin ${IMX_FW_COMMIT} && git checkout ${IMX_FW_COMMIT}; \
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
build-mwifiex: fetch-vendor
|
|
|
|
|
${MAKE} -C ${KMOD_MWIFI} ${KMOD_ARGS} VENDORDIR=${VENDORDIR}
|
|
|
|
|
|
|
|
|
|
build-dpaa_wifi: fetch-vendor
|
|
|
|
|
${MAKE} -C ${KMOD_DW} ${KMOD_ARGS} VENDORDIR=${VENDORDIR}
|
|
|
|
|
|
2026-03-03 02:00:54 +01:00
|
|
|
modules: build-cdx build-fci build-auto_bridge build-pf_notify \
|
2026-03-02 12:35:51 +01:00
|
|
|
build-emc2302 build-ina2xx build-lp5812 build-sfpled build-pcf2131 \
|
2026-03-05 16:17:10 +01:00
|
|
|
build-caam build-tmp431 build-mwifiex build-dpaa_wifi
|
|
|
|
|
@mkdir -p ${DISTDIR}
|
|
|
|
|
cp ${KMOD_CDX}/cdx.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_FCI}/fci.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_AB}/auto_bridge.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_PN}/pf_notify.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_EMC}/emc2302.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_INA}/ina2xx.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_LP}/lp5812.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_SFP}/sfpled.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_PCF}/pcf2131.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_CAAM}/caam.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_TMP}/tmp431.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_MWIFI}/mwifiex.ko ${DISTDIR}/
|
|
|
|
|
cp ${KMOD_DW}/dpaa_wifi.ko ${DISTDIR}/
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
# ============================================================
|
|
|
|
|
# Userspace components (dependency order: fmlib -> fmc -> dpa_app)
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
|
|
fmlib:
|
|
|
|
|
@mkdir -p ${BUILDDIR}/fmlib
|
2026-03-14 15:07:06 +01:00
|
|
|
cd ${BUILDDIR}/fmlib && ${MAKE} -f ${FASTPATH}/fmlib/Makefile.cross \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} KSRCDIR=${SRCDIR} all
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
fmc: fmlib
|
|
|
|
|
@mkdir -p ${BUILDDIR}/fmc
|
|
|
|
|
cd ${BUILDDIR}/fmc && ${MAKE} -f ${FASTPATH}/fmc/Makefile.cross \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} KSRCDIR=${SRCDIR} FMLIB_LIB=${BUILDDIR}/fmlib all
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
dpa_app: fmc
|
|
|
|
|
@mkdir -p ${BUILDDIR}/dpa_app
|
|
|
|
|
cd ${BUILDDIR}/dpa_app && ${MAKE} -f ${FASTPATH}/dpa_app/Makefile.cross \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} KSRCDIR=${SRCDIR} \
|
2026-02-25 00:58:56 +01:00
|
|
|
FMLIB_LIB=${BUILDDIR}/fmlib FMC_LIB=${BUILDDIR}/fmc all
|
|
|
|
|
|
|
|
|
|
cmm:
|
|
|
|
|
@mkdir -p ${BUILDDIR}/cmm
|
2026-03-14 15:07:06 +01:00
|
|
|
cd ${BUILDDIR}/cmm && ${MAKE} -f ${FASTPATH}/cmm/Makefile.cross \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} KSRCDIR=${SRCDIR} all
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
cmmctl:
|
|
|
|
|
@mkdir -p ${BUILDDIR}/cmmctl
|
2026-03-14 15:07:06 +01:00
|
|
|
cd ${BUILDDIR}/cmmctl && ${MAKE} -f ${FASTPATH}/cmmctl/Makefile.cross \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} all
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
fand:
|
|
|
|
|
@mkdir -p ${BUILDDIR}/fand
|
2026-03-14 15:07:06 +01:00
|
|
|
cd ${BUILDDIR}/fand && ${MAKE} -f ${DRIVERS}/fand/Makefile \
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
TARGET=${CROSS_TARGET} SYSROOT=${SYSROOT} all
|
2026-02-25 00:58:56 +01:00
|
|
|
|
|
|
|
|
userspace: fmlib fmc dpa_app cmm cmmctl fand
|
2026-03-05 16:17:10 +01:00
|
|
|
@mkdir -p ${DISTDIR}
|
|
|
|
|
cp ${BUILDDIR}/fmc/fmc ${DISTDIR}/
|
|
|
|
|
cp ${BUILDDIR}/dpa_app/dpa_app ${DISTDIR}/
|
|
|
|
|
cp ${BUILDDIR}/cmm/cmm ${DISTDIR}/
|
|
|
|
|
cp ${BUILDDIR}/cmmctl/cmmctl ${DISTDIR}/
|
|
|
|
|
cp ${BUILDDIR}/fand/fand ${DISTDIR}/
|
2026-02-25 00:58:56 +01:00
|
|
|
|
2026-02-27 13:19:20 +01:00
|
|
|
# ============================================================
|
|
|
|
|
# FreeBSD package (mono-gateway.pkg)
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
2026-03-14 15:07:06 +01:00
|
|
|
package: all
|
2026-11-23 19:26:41 -05:00
|
|
|
@if [ -z "${OPS_VERSION}" ]; then echo "set OPS_VERSION (e.g. 26.7.9)" >&2; exit 1; fi
|
Recover GitHub-generated patch distfiles; fix git ownership in the VM
The first pilot stopped building the host pkg: GitHub now abbreviates the
object names on the index lines of its generated commit patches with 10
digits instead of 9, so OPNsense's patches of ports-mgmt/pkg no longer
match distinfo, and nothing caches OPNsense's own distfiles.
- release/fetch-patch.sh: FETCH_CMD that, when fetch(1) fails for a
GitHub commit/pull/compare patch, shortens the abbreviations until the
size matches; the port's checksum target verifies the SHA256.
- build.sh: run tools' distfiles step on its own, repair the ports it
could not fetch on the host into the distfiles set, and rerun it; the
pilot fetches its ports' distfiles too; host pkg uses the wrapper.
- vm.sh sync: files owned by root in the VM. They kept the workstation's
uid, git refused the "dubious" repository, and that defeated the dirty
check silently. build.sh now fails when git cannot read /usr/deps, and
the package target refuses a version without the commit count.
- migrate-device.sh: FreeBSD grep rejects the empty alternative in the
fingerprint file check, so it failed on every device. Found by running
release/tests on the build VM, now part of the documented test run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 13:43:10 -05:00
|
|
|
@case "${PKG_VERSION}" in *_) echo "git cannot count the commits of ${OPSDIR}; set PKG_VERSION" >&2; exit 1;; esac
|
2026-03-02 14:54:58 +01:00
|
|
|
@rm -f ${DISTDIR}/mono-gateway-*.pkg
|
2026-02-27 13:19:20 +01:00
|
|
|
@rm -rf ${PKG_STAGEDIR}
|
|
|
|
|
@mkdir -p ${PKG_STAGEDIR}/boot/modules
|
|
|
|
|
@mkdir -p ${PKG_STAGEDIR}/usr/local/sbin
|
|
|
|
|
@mkdir -p ${PKG_STAGEDIR}/etc/fmc/config
|
|
|
|
|
@mkdir -p ${PKG_STAGEDIR}/usr/local/etc/rc.d
|
|
|
|
|
@mkdir -p ${PKG_STAGEDIR}/usr/local/etc/rc.syshook.d/early
|
2026-04-09 03:26:09 +02:00
|
|
|
@mkdir -p ${PKG_STAGEDIR}/usr/local/etc/rc.syshook.d/stop
|
2026-02-27 13:19:20 +01:00
|
|
|
# Kernel modules
|
|
|
|
|
install -m 644 ${DISTDIR}/cdx.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/fci.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/auto_bridge.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/pf_notify.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/sfpled.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/lp5812.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/emc2302.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/ina2xx.ko ${PKG_STAGEDIR}/boot/modules/
|
2026-03-02 12:35:51 +01:00
|
|
|
install -m 644 ${DISTDIR}/pcf2131.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/caam.ko ${PKG_STAGEDIR}/boot/modules/
|
2026-03-03 01:42:55 +01:00
|
|
|
install -m 644 ${DISTDIR}/tmp431.ko ${PKG_STAGEDIR}/boot/modules/
|
2026-03-05 16:17:10 +01:00
|
|
|
install -m 644 ${DISTDIR}/mwifiex.ko ${PKG_STAGEDIR}/boot/modules/
|
|
|
|
|
install -m 644 ${DISTDIR}/dpaa_wifi.ko ${PKG_STAGEDIR}/boot/modules/
|
2026-02-27 13:19:20 +01:00
|
|
|
# Userspace binaries
|
|
|
|
|
install -m 755 ${DISTDIR}/cmm ${PKG_STAGEDIR}/usr/local/sbin/
|
|
|
|
|
install -m 755 ${DISTDIR}/cmmctl ${PKG_STAGEDIR}/usr/local/sbin/
|
|
|
|
|
install -m 755 ${DISTDIR}/dpa_app ${PKG_STAGEDIR}/usr/local/sbin/
|
|
|
|
|
install -m 755 ${DISTDIR}/fmc ${PKG_STAGEDIR}/usr/local/sbin/
|
|
|
|
|
install -m 755 ${DISTDIR}/fand ${PKG_STAGEDIR}/usr/local/sbin/
|
|
|
|
|
# Configuration files
|
|
|
|
|
install -m 644 ${PKG_CONFDIR}/cdx_cfg.xml ${PKG_STAGEDIR}/etc/
|
|
|
|
|
install -m 644 ${PKG_CONFDIR}/cdx_pcd.xml ${PKG_STAGEDIR}/etc/
|
|
|
|
|
install -m 644 ${PKG_CONFDIR}/cdx_sp.xml ${PKG_STAGEDIR}/etc/
|
|
|
|
|
install -m 644 ${PKG_CONFDIR}/hxs_pdl_v3.xml ${PKG_STAGEDIR}/etc/fmc/config/
|
|
|
|
|
# rc.d service scripts
|
|
|
|
|
install -m 755 ${PKG_RCDDIR}/cmm ${PKG_STAGEDIR}/usr/local/etc/rc.d/
|
|
|
|
|
install -m 755 ${PKG_RCDDIR}/fand ${PKG_STAGEDIR}/usr/local/etc/rc.d/
|
2026-03-06 21:59:21 +01:00
|
|
|
install -m 755 ${PKG_RCDDIR}/mwifiex_uap ${PKG_STAGEDIR}/usr/local/etc/rc.d/
|
2026-02-27 13:19:20 +01:00
|
|
|
# rc.syshook early scripts
|
2026-03-26 23:41:47 +01:00
|
|
|
install -m 755 ${PKG_RCDDIR}/01-mono-modules ${PKG_STAGEDIR}/usr/local/etc/rc.syshook.d/early/
|
2026-04-09 03:26:09 +02:00
|
|
|
# rc.syshook stop scripts
|
|
|
|
|
install -m 755 ${PKG_RCDDIR}/20-kernel-update ${PKG_STAGEDIR}/usr/local/etc/rc.syshook.d/stop/
|
2026-03-03 02:00:54 +01:00
|
|
|
# OPNsense plugin files (hwmon dashboard widget)
|
|
|
|
|
cp -R ${OPSDIR}/plugins/hwmon/src/opnsense/ ${PKG_STAGEDIR}/usr/local/opnsense/
|
|
|
|
|
chmod 755 ${PKG_STAGEDIR}/usr/local/opnsense/scripts/hwmon/sensors.py
|
2026-04-03 16:54:36 +02:00
|
|
|
# CMM configd action (restart on interface reassignment)
|
|
|
|
|
install -m 644 ${PKG_CONFDIR}/actions_cmm.conf ${PKG_STAGEDIR}/usr/local/opnsense/service/conf/actions.d/
|
2026-02-27 13:19:20 +01:00
|
|
|
# Generate manifest with version
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
sed -e 's/%%VERSION%%/${PKG_VERSION}/' -e 's/%%ABI%%/${PKG_ABI}/' \
|
|
|
|
|
${PKG_METADIR}/+MANIFEST > ${PKG_STAGEDIR}/+MANIFEST
|
2026-02-27 13:19:20 +01:00
|
|
|
# Build package (ABI override for cross-compilation on amd64 host)
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
ABI=${PKG_ABI} pkg create \
|
2026-02-27 13:19:20 +01:00
|
|
|
-M ${PKG_STAGEDIR}/+MANIFEST -p ${PKG_METADIR}/plist \
|
|
|
|
|
-r ${PKG_STAGEDIR} -o ${DISTDIR}/
|
|
|
|
|
@echo "==> Package: ${DISTDIR}/mono-gateway-${PKG_VERSION}.pkg"
|
|
|
|
|
|
2026-02-25 00:58:56 +01:00
|
|
|
# ============================================================
|
|
|
|
|
# Clean
|
|
|
|
|
# ============================================================
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
${MAKE} -C ${KMOD_CDX} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_FCI} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_AB} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_PN} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_EMC} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_INA} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_LP} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_SFP} ${KMOD_ARGS} clean
|
2026-03-02 12:35:51 +01:00
|
|
|
${MAKE} -C ${KMOD_PCF} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_CAAM} ${KMOD_ARGS} clean
|
2026-03-03 01:42:55 +01:00
|
|
|
${MAKE} -C ${KMOD_TMP} ${KMOD_ARGS} clean
|
2026-03-05 16:17:10 +01:00
|
|
|
${MAKE} -C ${KMOD_MWIFI} ${KMOD_ARGS} clean
|
|
|
|
|
${MAKE} -C ${KMOD_DW} ${KMOD_ARGS} clean
|
2026-02-25 00:58:56 +01:00
|
|
|
rm -rf ${BUILDDIR}
|
|
|
|
|
|
2026-03-14 15:07:06 +01:00
|
|
|
# Ensure "make -j clean all" serializes clean before build
|
|
|
|
|
.ORDER: clean all
|
|
|
|
|
.ORDER: clean modules
|
|
|
|
|
.ORDER: clean userspace
|
|
|
|
|
|
board package: build per series, harden kernel install for U-Boot
- Makefile: read the FreeBSD release from tools' config/<series>/build.conf
and derive the compiler target and package ABI from it, version the
package <release>_<commit count>, take libxml2 from our own packages
set instead of pkg.FreeBSD.org, clone the NXP sources from the Forgejo
mirrors, and drop the image target (release/build.sh replaces it)
- +MANIFEST: ABI from the series, new maintainer and www
- GATEWAY.conf: annotate mono-gateway as coming from the OPNsense
repository; fail the image build if the package is missing
- mk-image.sh: remove the amd64 qemu binary setup_xtools leaves behind
- 20-kernel-update: drop the 26.1.3 guard; check room on the FAT
partition, copy and verify the new kernel before replacing the old
one, keep kernel.old, restore it on failure, retry at next shutdown
- 01-mono-modules: log modules that fail to load instead of hiding it
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 18:56:54 -05:00
|
|
|
.PHONY: all modules userspace package clean fetch-vendor \
|
2026-02-25 00:58:56 +01:00
|
|
|
build-cdx build-fci build-auto_bridge build-pf_notify \
|
2026-03-02 12:35:51 +01:00
|
|
|
build-emc2302 build-ina2xx build-lp5812 build-sfpled build-pcf2131 \
|
2026-03-05 16:17:10 +01:00
|
|
|
build-caam build-tmp431 build-mwifiex build-dpaa_wifi \
|
2026-02-25 00:58:56 +01:00
|
|
|
fmlib fmc dpa_app cmm cmmctl fand
|