Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Allow port-specific Makefile fragments to specify a...



details:   https://anonhg.NetBSD.org/src/rev/448590d0e071
branches:  trunk
changeset: 518254:448590d0e071
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Nov 26 23:44:58 2001 +0000

description:
Allow port-specific Makefile fragments to specify a list of additional
genassym.cf fragments, if desired.

diffstat:

 sys/arch/acorn32/conf/Makefile.acorn32 |  7 ++++---
 sys/arch/arm/conf/Makefile.arm         |  7 ++++---
 sys/arch/arm32/conf/Makefile.arm32     |  7 ++++---
 3 files changed, 12 insertions(+), 9 deletions(-)

diffs (63 lines):

diff -r 029b7f32ecd6 -r 448590d0e071 sys/arch/acorn32/conf/Makefile.acorn32
--- a/sys/arch/acorn32/conf/Makefile.acorn32    Mon Nov 26 23:31:56 2001 +0000
+++ b/sys/arch/acorn32/conf/Makefile.acorn32    Mon Nov 26 23:44:58 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.acorn32,v 1.5 2001/11/20 12:56:17 lukem Exp $
+#      $NetBSD: Makefile.acorn32,v 1.6 2001/11/26 23:51:41 thorpej Exp $
 
 # Makefile for NetBSD
 #
@@ -130,8 +130,9 @@
 %LOAD
 
 assym.h: $S/kern/genassym.sh ${ARM}/arm32/genassym.cf
-       sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
-           < ${ARM}/arm32/genassym.cf > assym.h.tmp && \
+       cat ${ARM}/arm32/genassym.cf ${GENASSYM_EXTRAS} |
+           sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+           > assym.h.tmp && \
        mv -f assym.h.tmp assym.h
 
 param.c: $S/conf/param.c
diff -r 029b7f32ecd6 -r 448590d0e071 sys/arch/arm/conf/Makefile.arm
--- a/sys/arch/arm/conf/Makefile.arm    Mon Nov 26 23:31:56 2001 +0000
+++ b/sys/arch/arm/conf/Makefile.arm    Mon Nov 26 23:44:58 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm,v 1.13 2001/11/25 15:55:54 thorpej Exp $
+#      $NetBSD: Makefile.arm,v 1.14 2001/11/26 23:44:58 thorpej Exp $
 
 # Makefile for NetBSD
 #
@@ -136,8 +136,9 @@
 %LOAD
 
 assym.h: $S/kern/genassym.sh ${ARM}/arm32/genassym.cf
-       sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
-           < ${ARM}/arm32/genassym.cf > assym.h.tmp && \
+       cat ${ARM}/arm32/genassym.cf ${GENASSYM_EXTRAS} | \
+           sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+           > assym.h.tmp && \
        mv -f assym.h.tmp assym.h
 
 param.c: $S/conf/param.c
diff -r 029b7f32ecd6 -r 448590d0e071 sys/arch/arm32/conf/Makefile.arm32
--- a/sys/arch/arm32/conf/Makefile.arm32        Mon Nov 26 23:31:56 2001 +0000
+++ b/sys/arch/arm32/conf/Makefile.arm32        Mon Nov 26 23:44:58 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.arm32,v 1.61 2001/11/20 12:56:22 lukem Exp $
+#      $NetBSD: Makefile.arm32,v 1.62 2001/11/26 23:52:34 thorpej Exp $
 
 # Makefile for NetBSD
 #
@@ -130,8 +130,9 @@
 %LOAD
 
 assym.h: $S/kern/genassym.sh ${ARM}/arm32/genassym.cf
-       sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
-           < ${ARM}/arm32/genassym.cf > assym.h.tmp && \
+       cat ${ARM}/arm32/genassym.cf ${GENASSYM_EXTRAS} | \
+           sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+           > assym.h.tmp && \
        mv -f assym.h.tmp assym.h
 
 param.c: $S/conf/param.c



Home | Main Index | Thread Index | Old Index