view iconfig.mk @ 5577:4da45107d87a draft

script: Use rt_proto_add to ensure no duplicate interfaces on OpenBSD OpenBSD allows matching priorities, so we need to take the interfaces in the order given to ensure uniqueness.
author Roy Marples <roy@marples.name>
date Mon, 18 Jan 2021 11:31:05 +0000
parents ab6ab600e935
children
line wrap: on
line source

# Nasty hack so that make clean works without configure being run
TOP?=		.
_CONFIG_MK!=	test -e ${TOP}/config.mk && \
		    echo config.mk || echo config-null.mk
_CONFIG_MK?=	$(shell test -e ${TOP}/config.mk && \
		    echo config.mk || echo config-null.mk)
CONFIG_MK?=	${_CONFIG_MK}
include		${TOP}/${CONFIG_MK}