From e44e2c60b8c08c7926831a152cd9fbaf85c8e60f Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 23 Aug 2007 15:59:33 +0000 Subject: Break out the inclusion of the operating-system-specific Makefile into a separate emulator-opsys.mk file. The emulator-opsys.mk file defines EMUL_DISTRO and the various *EMUL*DIR* variables, as well as any opsys-specific variables. Include this file within compat_netbsd/Makefile.common so that the *EXEC_FMT variables (defined by the compat*/emulator.mk files) are defined. This fixes the build of compat* packages. XXX emulator-opsys.mk will go away in the near future as we do more XXX appropriate information hiding. --- emulators/compat_netbsd/Makefile.common | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common index 9ca372db860..b9e690a9b6f 100644 --- a/emulators/compat_netbsd/Makefile.common +++ b/emulators/compat_netbsd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2007/08/21 22:49:25 jlam Exp $ +# $NetBSD: Makefile.common,v 1.2 2007/08/23 15:59:33 jlam Exp $ # # Common infrastructure for NetBSD compat* packages. # @@ -43,6 +43,8 @@ BUILD_DIRS= # empty MAKE_DIRS+= ${EMULDIR} ELF_SYMLINKS_DATA= ${WRKDIR}/.symlinks-data +.include "../../mk/emulator/emulator-opsys.mk" + # # PLISTs are composed from the following bits, in order: # -- cgit v1.2.3