From 89a072d11cd227c7350ae0f55ee0bb95993e1140 Mon Sep 17 00:00:00 2001 From: Alexander Kabaev Date: Wed, 8 Feb 2023 11:36:46 -0700 Subject: [PATCH] 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