From 42ec29f8c344a7d7a58bc2953226836a48450d59 Mon Sep 17 00:00:00 2001 From: marcel Date: Tue, 21 May 2013 17:47:53 +0000 Subject: 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. --- lib/csu/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lib/csu/Makefile (limited to 'lib/csu') diff --git a/lib/csu/Makefile b/lib/csu/Makefile new file mode 100644 index 0000000..320a5a4 --- /dev/null +++ b/lib/csu/Makefile @@ -0,0 +1,10 @@ +# $FreeBSD$ + +ARCH= ${MACHINE_ARCH:S/i386/i386-elf/} +.if exists(${.CURDIR}/${ARCH}) +SUBDIR+= ${ARCH} +.else +SUBDIR+= ${MACHINE_CPUARCH} +.endif + +.include -- cgit v1.1