diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-13 16:40:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-06-13 16:40:02 +0000 |
commit | f6bea4b6e58fbcbf36db44f4269ffad3f38f557a (patch) | |
tree | b360f83b986bb043e9b77130a1926d7722291f59 /sys/arch/armv7 | |
parent | d93b01eff47beefcf7c784bebb23aed1528c37c3 (diff) |
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.
Diffstat (limited to 'sys/arch/armv7')
-rw-r--r-- | sys/arch/armv7/conf/Makefile.armv7 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/armv7/conf/Makefile.armv7 b/sys/arch/armv7/conf/Makefile.armv7 index de7f7c52ba6..bd893b46c5d 100644 --- a/sys/arch/armv7/conf/Makefile.armv7 +++ b/sys/arch/armv7/conf/Makefile.armv7 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.armv7,v 1.25 2017/06/11 22:51:21 deraadt Exp $ +# $OpenBSD: Makefile.armv7,v 1.26 2017/06/13 16:40:01 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -86,6 +86,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 |