git: 89a072d11cd2 - main - Makefile.amd64: remove construct that serves no purpose
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Feb 2023 19:22:21 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=89a072d11cd227c7350ae0f55ee0bb95993e1140
commit 89a072d11cd227c7350ae0f55ee0bb95993e1140
Author: Alexander Kabaev <kan@FreeBSD.org>
AuthorDate: 2023-02-08 18:36:46 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-08 19:19:39 +0000
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
---
usr.sbin/Makefile.amd64 | 5 -----
1 file changed, 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