svn commit: r250863 - head/lib/csu
Marcel Moolenaar
marcel at FreeBSD.org
Tue May 21 17:47:54 UTC 2013
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>
More information about the svn-src-all
mailing list