Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/stand/bootxxx Use ${PRINT_OBJDIR} rather than...



details:   https://anonhg.NetBSD.org/src/rev/0e501285e24b
branches:  trunk
changeset: 525238:0e501285e24b
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Mon Apr 08 17:29:53 2002 +0000

description:
Use ${PRINT_OBJDIR} rather than looking for the libsa objdir manually.

diffstat:

 sys/arch/atari/stand/bootxxx/Makefile |  14 ++++----------
 1 files changed, 4 insertions(+), 10 deletions(-)

diffs (28 lines):

diff -r 8a5d49611e52 -r 0e501285e24b sys/arch/atari/stand/bootxxx/Makefile
--- a/sys/arch/atari/stand/bootxxx/Makefile     Mon Apr 08 17:25:54 2002 +0000
+++ b/sys/arch/atari/stand/bootxxx/Makefile     Mon Apr 08 17:29:53 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2001/12/12 12:24:24 lukem Exp $
+#      $NetBSD: Makefile,v 1.6 2002/04/08 17:29:53 bjh21 Exp $
 
 NOMAN= # defined
 
@@ -35,15 +35,9 @@
 S_MACHSA=${S}/arch/atari/stand/libsa
 S_LIBTOS=${S}/arch/atari/stand/tostools/libtos
 
-.if exists(${S_MACHSA}/libsa.a)
-LIBSA=${S_MACHSA}/libsa.a
-.else
-.      if exists(${S_MACHSA}/obj/libsa.a)
-LIBSA=${S_MACHSA}/obj/libsa.a
-.      else
-LIBSA=${S_MACHSA}/obj.${MACHINE}/libsa.a
-.      endif
-.endif
+S_MACHSAOBJ!=  cd ${S_MACHSA} && ${PRINTOBJDIR}
+
+LIBSA=${S_MACHSAOBJ}/libsa.a
 
 DPADD= ${LIBSA}
 LDADD= ${LIBSA}



Home | Main Index | Thread Index | Old Index