diff options
author | marcel <marcel@FreeBSD.org> | 2013-05-21 17:47:53 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2013-05-21 17:47:53 +0000 |
commit | 42ec29f8c344a7d7a58bc2953226836a48450d59 (patch) | |
tree | 3e0cf38254a99192da8b8e793cdfb763bac6fdad | |
parent | 120b82d3686f29fcbe3217c7bb745c8773fe2f58 (diff) | |
download | FreeBSD-src-42ec29f8c344a7d7a58bc2953226836a48450d59.zip FreeBSD-src-42ec29f8c344a7d7a58bc2953226836a48450d59.tar.gz |
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.
-rw-r--r-- | lib/csu/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
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 <bsd.subdir.mk> |