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.
This commit is contained in:
Marcel Moolenaar 2013-05-21 17:47:53 +00:00
parent bed3a130ea
commit e9d8fda02c

10
lib/csu/Makefile Normal file
View File

@ -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>