Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu look for ${CSU_MACHINE_ARCH}_elf directory first.



details:   https://anonhg.NetBSD.org/src/rev/7f9231b2ae50
branches:  trunk
changeset: 749930:7f9231b2ae50
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Dec 13 08:03:44 2009 +0000

description:
look for ${CSU_MACHINE_ARCH}_elf directory first.

diffstat:

 lib/csu/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r 10bf9ec4625c -r 7f9231b2ae50 lib/csu/Makefile
--- a/lib/csu/Makefile  Sun Dec 13 08:02:36 2009 +0000
+++ b/lib/csu/Makefile  Sun Dec 13 08:03:44 2009 +0000
@@ -1,8 +1,10 @@
-#      $NetBSD: Makefile,v 1.24 2002/05/02 16:42:53 wiz Exp $
+#      $NetBSD: Makefile,v 1.25 2009/12/13 08:03:44 mrg Exp $
 
 .include <bsd.own.mk>
 
-.if ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf)
+.if ${OBJECT_FMT} == "ELF" && exists(${CSU_MACHINE_ARCH}_elf)
+SUBDIR=        ${CSU_MACHINE_ARCH}_elf
+.elif ${OBJECT_FMT} == "ELF" && exists(${MACHINE_ARCH}_elf)
 SUBDIR=        ${MACHINE_ARCH}_elf
 .elif ${OBJECT_FMT} == "ELF" && exists(${MACHINE_CPU}_elf)
 SUBDIR=        ${MACHINE_CPU}_elf



Home | Main Index | Thread Index | Old Index