summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/conf/Makefile.powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/conf/Makefile.powerpc')
-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