Fix sconfig(8) build.

Missed that since sconfig(8) was built on i386 only. Since I enabled
cp(4) on amd64, enable sconfig(8) as well.

Fixes:	6aae3517ed
This commit is contained in:
Gleb Smirnoff 2021-10-22 13:28:44 -07:00
parent 70f51f0e47
commit c242672339
4 changed files with 3 additions and 9 deletions

View File

@ -93,10 +93,6 @@ SUBDIR.${MK_TESTS}+= tests
SUBDIR_PARALLEL=
# Add architecture-specific manpages
# to be included anyway
MAN= sconfig/sconfig.8
.include <bsd.prog.mk>
.include <bsd.subdir.mk>

View File

@ -2,3 +2,4 @@
SUBDIR += bsdlabel
SUBDIR += fdisk
SUBDIR += sconfig

View File

@ -4,7 +4,7 @@
PACKAGE=runtime
PROG= sconfig
MAN= sconfig.8
MANSUBDIR= /i386
WARNS?= 2
CFLAGS+= -I${SRCTOP}/sys/dev/cp
.include <bsd.prog.mk>

View File

@ -29,10 +29,7 @@ __FBSDID("$FreeBSD$");
#include <ctype.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <net/if.h>
#include <machine/cserial.h>
#include "cserial.h"
#define MAXCHAN 128