From 6fdb28a2d1472331b7cd8de1e4332b92f61053e5 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 13 Jun 2017 15:37:30 +0000 Subject: [PATCH] needs a fake ld.script for KARL tooling --- sys/arch/landisk/conf/Makefile.landisk | 7 +++++-- sys/arch/landisk/conf/ld.script | 0 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 sys/arch/landisk/conf/ld.script diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk index 7f56faee71b..fa7f27669eb 100644 --- a/sys/arch/landisk/conf/Makefile.landisk +++ b/sys/arch/landisk/conf/Makefile.landisk @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.landisk,v 1.65 2017/06/11 22:51:21 deraadt Exp $ +# $OpenBSD: Makefile.landisk,v 1.66 2017/06/13 15:37:30 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -73,7 +73,7 @@ NORMAL_S= ${CC} ${AFLAGS} ${CPPFLAGS} -c $< # ${SYSTEM_LD_TAIL} SYSTEM_HEAD= locore0.o gap.o SYSTEM_OBJ= ${SYSTEM_HEAD} ${OBJS} param.o ioconf.o -SYSTEM_DEP= Makefile ${SYSTEM_OBJ} +SYSTEM_DEP= Makefile ${SYSTEM_OBJ} ld.script SYSTEM_LD_HEAD= @rm -f $@ SYSTEM_LD= @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_HEAD} vers.o $${OBJS}'; \ umask 007; \ @@ -118,6 +118,9 @@ mcount.o: $S/lib/libkern/mcount.c Makefile ioconf.o: ioconf.c ${NORMAL_C} +ld.script: ${_machdir}/conf/ld.script + cp ${_machdir}/conf/ld.script $@ + vers.o: ${SYSTEM_DEP:Ngap.o} ${SYSTEM_SWAP_DEP} sh $S/conf/newvers.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c diff --git a/sys/arch/landisk/conf/ld.script b/sys/arch/landisk/conf/ld.script new file mode 100644 index 00000000000..e69de29bb2d -- 2.20.1