Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 02:50:54 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r209025 - head/share/mk
Message-ID:  <201006110250.o5B2osKq043139@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Fri Jun 11 02:50:53 2010
New Revision: 209025
URL: http://svn.freebsd.org/changeset/base/209025

Log:
  Merge from tbemd
  
  Enhance Makefile.inc processing, when asked for, to include the most
  specific (MACHINE specific) to least specific (MACHINE_CPUARCH).
  
  Reviewed by:	arch@ (mostly silence though)

Added:
     - copied unchanged from r209024, user/imp/tbemd/share/mk/bsd.arch.inc.mk
Directory Properties:
  head/share/mk/bsd.arch.inc.mk   (props changed)

Copied: head/share/mk/bsd.arch.inc.mk (from r209024, user/imp/tbemd/share/mk/bsd.arch.inc.mk)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/share/mk/bsd.arch.inc.mk	Fri Jun 11 02:50:53 2010	(r209025, copy of r209024, user/imp/tbemd/share/mk/bsd.arch.inc.mk)
@@ -0,0 +1,11 @@
+#
+# Include the arch-specific Makefile.inc.$ARCH.  We go from most specific
+# to least specific, stopping after we get a hit.
+#
+.if exists(${.CURDIR}/Makefile.${MACHINE})
+.include "Makefile.${MACHINE}"
+.elif exists(${.CURDIR}/Makefile.${MACHINE_ARCH})
+.include "Makefile.${MACHINE_ARCH}"
+.elif exists(${.CURDIR}/Makefile.${MACHINE_CPUARCH})
+.include "Makefile.${MACHINE_CPUARCH}"
+.endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006110250.o5B2osKq043139>