opnsense-deps/drivers/tmp431/Makefile
Tomaz Zaman a5258dd258 build: use standard OPNsense paths (/usr/src, /usr/tools, /usr/deps)
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.
2026-03-15 02:23:20 +01:00

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>