view iconfig.mk @ 5555:0fff9309b86d draft

Linux: Fix privsep build by including sys/termios.h for all platforms
author Mikhail Efremov <sem@altlinux.org>
date Tue, 08 Dec 2020 16:15:28 +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}