fix for non-i386/amd64 machines
Submitted by: marcel MFC after: 3 days
This commit is contained in:
parent
e1457c3eb1
commit
c322e13c55
@ -1,7 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ncpus
|
||||
SRCS= ncpus.c acpi.c biosmptable.c
|
||||
SRCS= ncpus.c acpi.c
|
||||
.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
|
||||
SRCS+= biosmptable.c
|
||||
.endif
|
||||
NO_MAN= noman
|
||||
BINDIR= /usr/local/bin
|
||||
|
||||
|
@ -9,6 +9,8 @@ int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
printf("acpi: %d\n", acpi_detect());
|
||||
#if defined(__amd64__) || defined(__i386__)
|
||||
printf("mptable: %d\n", biosmptable_detect());
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user