head	1.4;
access;
symbols
	perseant-exfatfs-base-20261102:1.4;
locks; strict;
comment	@# @;


1.4
date	2026.10.27.20.06.33;	author yurix;	state Exp;
branches;
next	1.3;
commitid	qkryZlmj8xRfB91H;

1.3
date	2026.03.31.20.24.21;	author yurix;	state Exp;
branches;
next	1.2;
commitid	4yqdLAWzqYdKraAG;

1.2
date	2026.01.19.05.25.22;	author skrll;	state Exp;
branches;
next	1.1;
commitid	r8CQ61jlhgESKXqG;

1.1
date	2026.01.18.11.34.12;	author skrll;	state Exp;
branches;
next	;
commitid	GhR51eDrUtwjPRqG;


desc
@@


1.4
log
@netgate sg-1000: add device tree

Imported from FreeBSD.

Thank you to Elias Howell for testing and helping with getting the device tree right.
@
text
@#	$NetBSD: Makefile,v 1.3 2026/03/31 20:24:21 yurix Exp $

# Important: Regenerate dtb set lists by running 'make update-sets' in
# sys/arch/dtb after changing this file.

DTSSUBDIR=	ti/omap
.if !empty(MACHINE_ARCH:Mearmv7*)
DTSMAKEVARS=	CONFIG_ARCH_OMAP3=y \
		CONFIG_ARCH_OMAP4=y \
		CONFIG_SOC_AM33XX=y
.endif
DTSFILESCMD=	${MAKE} -C ${ARCHDTSDIR}/${DTSSUBDIR} ${DTSMAKEVARS} -v dtb-y
DTS=		${DTSFILESCMD:sh}

# Extra .dts files from arch/arm/dts
.if !empty(MACHINE_ARCH:Mearmv7*)
DTS+=		am335x-ufw.dts
.endif

.include <bsd.dtb.mk>
@


1.3
log
@add hints about regenerating dtb set lists
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2026/01/19 05:25:22 skrll Exp $
d15 5
@


1.2
log
@Fix double vision.
@
text
@d1 4
a4 1
#	$NetBSD: Makefile,v 1.1 2026/01/18 11:34:12 skrll Exp $
@


1.1
log
@Add files missed in previous.

grr ancient VCS
@
text
@d1 1
a1 13
#	$NetBSD$

DTSSUBDIR=	ti/omap
.if !empty(MACHINE_ARCH:Mearmv7*)
DTSMAKEVARS=	CONFIG_ARCH_OMAP3=y \
		CONFIG_ARCH_OMAP4=y \
		CONFIG_SOC_AM33XX=y
.endif
DTSFILESCMD=	${MAKE} -C ${ARCHDTSDIR}/${DTSSUBDIR} ${DTSMAKEVARS} -v dtb-y
DTS=		${DTSFILESCMD:sh}

.include <bsd.dtb.mk>
#	$NetBSD$
@

