freebsd-skq/libexec/Makefile
Yaroslav Tykhiy b2c4f888fd Add a hackish knob to skip rtld, NO_RTLD. In conjunction with
src/Makefile.inc1 rev. 1.590, it can allow installing a world
cross-built for a different arch over the live system.  The procedure
is more or less as follows:

	cp -R /rescue /rescue.old
	make installkernel TARGET_ARCH=foo
	make -DNO_RTLD installworld TARGET_ARCH=foo
	     ^^^^^^^^^
	PATH=/rescue.old
	chflags noschg /libexec/ld-elf.so.1
	cp /usr/obj/foo/usr/src/libexec/rtld/ld-elf.so.1 /libexec
	chflags schg /libexec/ld-elf.so.1
	<ditto for ld-elf32.so.1 if installing for amd64>
	reboot
2007-10-31 11:19:32 +00:00

61 lines
799 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/4/93
# $FreeBSD$
.include <bsd.own.mk>
SUBDIR= atrun \
bootpd \
comsat \
fingerd \
ftpd \
getty \
lukemftpd \
${_mail.local} \
makekey \
${_mknetid} \
pppoed \
pt_chown \
rbootd \
revnetgroup \
${_rlogind} \
rpc.rquotad \
rpc.rstatd \
rpc.rusersd \
rpc.rwalld \
rpc.sprayd \
${_rshd} \
${_rtld-elf} \
save-entropy \
${_smrsh} \
talkd \
tcpd \
telnetd \
tftpd \
${_tftp-proxy} \
${_ypxfr}
.if ${MK_NIS} != "no"
_mknetid= mknetid
_ypxfr= ypxfr
.endif
.if ${MK_PF} != "no"
_tftp-proxy= tftp-proxy
.endif
.if !defined(NO_PIC) && !defined(NO_RTLD)
_rtld-elf= rtld-elf
.endif
.if ${MK_RCMDS} != "no"
_rlogind= rlogind
_rshd= rshd
.endif
.if ${MK_SENDMAIL} != "no"
_mail.local= mail.local
_smrsh= smrsh
.endif
.include <bsd.subdir.mk>