Replace custom /build/ layout with standard OPNsense /usr/ hierarchy. Add DEPSDIR variable to GATEWAY.conf. Make git pull non-fatal for NFS setups. Update all Makefile paths, symlinks, and README instructions.
16 lines
436 B
Makefile
16 lines
436 B
Makefile
# TI TMP431 Temperature Sensor kernel module for FreeBSD
|
|
#
|
|
# Build:
|
|
# make -C /usr/deps/drivers/tmp431 \
|
|
# KERNBUILDDIR=/usr/obj/usr/src/arm64.aarch64/sys/GATEWAY \
|
|
# MACHINE=arm64 MACHINE_ARCH=aarch64 CC=cc LD=ld.lld
|
|
#
|
|
# Copyright 2026 Mono Technologies Inc.
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
|
KMOD= tmp431
|
|
SRCS= tmp431.c
|
|
SRCS+= opt_platform.h device_if.h bus_if.h iicbus_if.h ofw_bus_if.h
|
|
|
|
.include <bsd.kmod.mk>
|