From 24f77e2fac199b0bd53ee960dec1bc6a7d2eafb4 Mon Sep 17 00:00:00 2001 From: nia Date: Thu, 14 Feb 2019 20:54:17 +0000 Subject: emulators/haxm: Set S to ${BSDSRCDIR}/sys. Allows building with src in a non-default location. --- emulators/haxm/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/haxm/Makefile b/emulators/haxm/Makefile index f899cd70fba..b307bedbc94 100644 --- a/emulators/haxm/Makefile +++ b/emulators/haxm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2019/02/13 17:42:57 kamil Exp $ +# $NetBSD: Makefile,v 1.5 2019/02/14 20:54:17 nia Exp $ GITHUB_PROJECT= haxm GITHUB_TAG= c072ad9b68e1d558a9fb791511468d10a1a9b319 @@ -22,8 +22,12 @@ BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm BUILD_DIRS= platforms/netbsd +.include "../../mk/bsd.prefs.mk" + BUILDLINK_PASSTHRU_DIRS+= ${BSDSRCDIR}/sys +MAKE_FLAGS+= S=${BSDSRCDIR}/sys + BUILD_DEFS+= BSDSRCDIR .include "../../mk/compiler.mk" -- cgit v1.2.3