summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/conf
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-18 20:33:12 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>1997-04-18 20:33:12 +0000
commitf688a2dce21a258b7e8fa745c531f99a49abd940 (patch)
tree9acaf70f4f995d05c4a4ba1c2ebee782a3a67536 /sys/arch/powerpc/conf
parentd68954a499bcf4cd041a91bb6e59be2bb3333a95 (diff)
Use the new genassym.cf method of generating the assym.h file.
Diffstat (limited to 'sys/arch/powerpc/conf')
-rw-r--r--sys/arch/powerpc/conf/Makefile.powerpc12
1 files changed, 4 insertions, 8 deletions
diff --git a/sys/arch/powerpc/conf/Makefile.powerpc b/sys/arch/powerpc/conf/Makefile.powerpc
index aa1bfd47bee..8b0f21e5488 100644
--- a/sys/arch/powerpc/conf/Makefile.powerpc
+++ b/sys/arch/powerpc/conf/Makefile.powerpc
@@ -111,14 +111,10 @@ LINKFLAGS+= -S
%LOAD
-assym.h: genassym
- ./genassym > assym.h
-
-genassym: genassym.o
- ${HOSTCC} -o $@ genassym.o
-
-genassym.o: ${PPC}/powerpc/genassym.c
- ${HOSTED_C}
+assym.h: $S/kern/genassym.sh ${PPC}/powerpc/genassym.cf
+ sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} \
+ < ${PPC}/powerpc/genassym.cf > assym.h.tmp && \
+ mv -f assym.h.tmp assym.h
param.c: $S/conf/param.c
rm -f param.c