Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2013 17:47:54 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250863 - head/lib/csu
Message-ID:  <201305211747.r4LHls80088185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Tue May 21 17:47:53 2013
New Revision: 250863
URL: http://svnweb.freebsd.org/changeset/base/250863

Log:
  Add a makefle that recurses into the right architecture-specific
  sub-directory. This to allow simpler logic outside of the csu
  directory.
  
  Obtained from:	Juniper Networks, Inc.

Added:
  head/lib/csu/Makefile   (contents, props changed)

Added: head/lib/csu/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lib/csu/Makefile	Tue May 21 17:47:53 2013	(r250863)
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+ARCH= ${MACHINE_ARCH:S/i386/i386-elf/}
+.if exists(${.CURDIR}/${ARCH})
+SUBDIR+= ${ARCH}
+.else
+SUBDIR+= ${MACHINE_CPUARCH}
+.endif
+
+.include <bsd.subdir.mk>



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