From f6bea4b6e58fbcbf36db44f4269ffad3f38f557a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 13 Jun 2017 16:40:02 +0000 Subject: newbsd: target which re-links a kernel. We cannot use the bsd: target since it has source dependencies, and relinking doesn't have any. Also the bsd: target is created by config(8)... worked on with rpe. --- sys/arch/landisk/conf/Makefile.landisk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/arch/landisk/conf') diff --git a/sys/arch/landisk/conf/Makefile.landisk b/sys/arch/landisk/conf/Makefile.landisk index fa7f27669eb..96bafd7922e 100644 --- a/sys/arch/landisk/conf/Makefile.landisk +++ b/sys/arch/landisk/conf/Makefile.landisk @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.landisk,v 1.66 2017/06/13 15:37:30 deraadt Exp $ +# $OpenBSD: Makefile.landisk,v 1.67 2017/06/13 16:40:01 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -93,6 +93,12 @@ LINKFLAGS+= -S %LOAD +newbsd: + ${SYSTEM_LD_HEAD} + ${SYSTEM_LD} swapgeneric.o + ${SYSTEM_LD_TAIL} + mv -f newbsd bsd + # cc's -MD puts the source and output paths in the dependency file; # since those are temp files here we need to fix it up. It also # puts the file in /tmp, so we use -MF to put it in the current -- cgit v1.2.3