Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/ofwboot Support per-target AFLAGS.



details:   https://anonhg.NetBSD.org/src/rev/1548d8caab65
branches:  trunk
changeset: 340805:1548d8caab65
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Oct 02 20:36:54 2015 +0000

description:
Support per-target AFLAGS.

diffstat:

 sys/arch/sparc/stand/ofwboot/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8094e00a15f5 -r 1548d8caab65 sys/arch/sparc/stand/ofwboot/Makefile
--- a/sys/arch/sparc/stand/ofwboot/Makefile     Fri Oct 02 19:52:49 2015 +0000
+++ b/sys/arch/sparc/stand/ofwboot/Makefile     Fri Oct 02 20:36:54 2015 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.33 2015/01/11 22:59:25 martin Exp $
+#      $NetBSD: Makefile,v 1.34 2015/10/02 20:36:54 joerg Exp $
 
 CURDIR=        ${.CURDIR}
 S=     ${CURDIR}/../../../..
@@ -123,7 +123,7 @@
 AFLAGS+=               -x assembler-with-cpp -D_LOCORE -D__ELF__ ${CEXTRAFLAGS}
 .endif
 
-NORMAL_S=      ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
+NORMAL_S=      ${CC} ${AFLAGS} ${AFLAGS.${<:T}}  ${CPPFLAGS} -c $<
 srt0.o: srt0.s
        ${NORMAL_S}
 



Home | Main Index | Thread Index | Old Index