From af734c774648e8374f97ad47be48dfc8cd37659f Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Tue, 18 Sep 2018 00:32:10 +0000 Subject: [PATCH] Move amd.map to usr.sbin/amd/amd/ This leverages CONFS to handle the install of the config file. Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D17159 --- etc/Makefile | 4 ---- usr.sbin/amd/amd/Makefile | 1 + {etc => usr.sbin/amd/amd}/amd.map | 0 3 files changed, 1 insertion(+), 4 deletions(-) rename {etc => usr.sbin/amd/amd}/amd.map (100%) diff --git a/etc/Makefile b/etc/Makefile index 8f4eca19e6a..26259c09699 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -27,10 +27,6 @@ BIN1= \ # NB: keep these sorted by MK_* knobs -.if ${MK_AMD} != "no" -BIN1+= amd.map -.endif - .if ${MK_LOCATE} != "no" BIN1+= ${SRCTOP}/usr.bin/locate/locate/locate.rc .endif diff --git a/usr.sbin/amd/amd/Makefile b/usr.sbin/amd/amd/Makefile index c1d5f4a295f..9e95e6f72a0 100644 --- a/usr.sbin/amd/amd/Makefile +++ b/usr.sbin/amd/amd/Makefile @@ -10,6 +10,7 @@ .PATH: ${SRCTOP}/contrib/amd/amd +CONFS= amd.map PROG= amd MAN= amd.8 SRCS= am_ops.c amd.c amfs_auto.c amfs_direct.c amfs_error.c amfs_generic.c diff --git a/etc/amd.map b/usr.sbin/amd/amd/amd.map similarity index 100% rename from etc/amd.map rename to usr.sbin/amd/amd/amd.map