aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kabaev <kan@FreeBSD.org>2023-02-08 18:36:46 +0000
committerWarner Losh <imp@FreeBSD.org>2023-02-08 19:19:39 +0000
commit89a072d11cd227c7350ae0f55ee0bb95993e1140 (patch)
tree320ec751f07439d9b87a470da1ed93f8decf68e4
parent3264f6b88fce7c5437d205685863617d8f6a22dd (diff)
downloadsrc-89a072d11cd227c7350ae0f55ee0bb95993e1140.tar.gz
src-89a072d11cd227c7350ae0f55ee0bb95993e1140.zip
Makefile.amd64: remove construct that serves no purpose
The variable expansion as written will never match anything but 'amd64/.8' in OBJDIR. The original intention behind the construct remains unclear, but "as is" it serves no other purpose but to generate the warning. Remove it altogether. Fixes: df90aeac24c9 Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D38440
-rw-r--r--usr.sbin/Makefile.amd645
1 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/Makefile.amd64 b/usr.sbin/Makefile.amd64
index 1191b5d6814e..c81a7530d6b7 100644
--- a/usr.sbin/Makefile.amd64
+++ b/usr.sbin/Makefile.amd64
@@ -2,16 +2,11 @@
# mptable: broken (not 64 bit clean)
# pnpinfo: crashes (not really useful anyway)
-_ARCH_SUBDIR=amd64
.if ${MK_ACPI} != "no"
SUBDIR+= acpi
.endif
.if ${MK_APM} != "no"
SUBDIR+= apm
-# Link files to the architecture directory
-.for _manpage in ${:!/bin/sh -c "/bin/ls ${_ARCH_SUBDIR}/.8"!:E}
-MLINKS+=${_manpage} ${_ARCH_SUBDIR}/${_manpage}
-.endfor
.endif
.if ${MK_BHYVE} != "no"
SUBDIR+= bhyve