Browse Source

For KARL, include a linkkit into the base set, as usr/share/compile.tgz.

This contains the relevant pieces from all the GENERIC* compile directories
(*.o ld.script Makefile gap.S).  It also includes the machine/ subdir for
now, to support re-randomizing of gap.S, though other methods are being
investigated.  (Any binutils ld.script hackers out there?)
collaboration with rpe
OPENBSD_6_2
deraadt 7 years ago
parent
commit
79f54021d7
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      src/etc/Makefile

+ 8
- 1
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.457 2017/06/12 18:49:33 espie Exp $
# $OpenBSD: Makefile,v 1.458 2017/06/13 17:09:52 deraadt Exp $
.include <bsd.own.mk>
@ -29,6 +29,13 @@ kernels: ${ALL_KERNELS}
cp ../sys/arch/${MACHINE}/compile/${CONF}/obj/bsd ${RELEASEDIR}/$K
chmod a+r ${RELEASEDIR}/$K
.endfor
cd ${.CURDIR}/../sys/arch/${MACHINE}/compile/ && \
tar -chzf ${DESTDIR}/usr/share/compile.tgz -s ',/obj/,/,' \
GENERIC*/obj/*.o GENERIC*/obj/Makefile \
GENERIC*/obj/ld.script GENERIC*/obj/gap.S \
GENERIC*/obj/machine
chown root:wheel ${DESTDIR}/usr/share/compile.tgz
chmod 644 ${DESTDIR}/usr/share/compile.tgz
# -rw-r--r--
BINOWN= root


Loading…
Cancel
Save