Create a MACHINE_ARCH == i386 section that first lists modules common

to both i386 and pc98 and then uses MACHINE subsections to list modules
specific to i386/i386 and i386/pc98.
This commit is contained in:
John Baldwin 2002-11-07 15:01:12 +00:00
parent ba91558ce9
commit 01c8945ca3

View File

@ -149,66 +149,7 @@ SUBDIR+=syscons
# XXX some of these can move to the general case when de-i386'ed # XXX some of these can move to the general case when de-i386'ed
# XXX some of these can move now, but are untested on other architectures. # XXX some of these can move now, but are untested on other architectures.
.if ${MACHINE} == "i386" .if ${MACHINE_ARCH} == "i386"
SUBDIR+=aac \
acpi \
aic \
aout \
apm \
ar \
arcnet \
asr \
atspeaker \
bktr \
cardbus \
cbb \
ciss \
cm \
coff \
drm \
ed \
el \
em \
ep \
exca \
fe \
firewire \
fpu \
gnufpu \
hea \
hfa \
ibcs2 \
iir \
linprocfs \
linux \
lnc \
lomac \
mly \
ncv \
netgraph \
nsp \
oltr \
pccard \
pecoff \
ray \
rc \
s3 \
sbni \
scsi_low \
smbfs \
sound \
splash \
sppp \
sr \
stg \
streams \
vesa \
vinum \
wi \
xe
.endif
.if ${MACHINE} == "pc98"
SUBDIR+=aic \ SUBDIR+=aic \
aout \ aout \
apm \ apm \
@ -216,9 +157,11 @@ SUBDIR+=aic \
arcnet \ arcnet \
bktr \ bktr \
coff \ coff \
ed \
em \ em \
ep \ ep \
fe \ fe \
firewire \
fpu \ fpu \
gnufpu \ gnufpu \
hea \ hea \
@ -226,20 +169,18 @@ SUBDIR+=aic \
ibcs2 \ ibcs2 \
linprocfs \ linprocfs \
linux \ linux \
lnc \
lomac \ lomac \
ncv \ ncv \
netgraph \ netgraph \
nsp \ nsp \
oltr \ oltr \
pccard \ pccard \
pcspeaker \
pecoff \ pecoff \
pmc \
ray \ ray \
sbni \ sbni \
scsi_low \ scsi_low \
smbfs \ smbfs \
snc \
sound \ sound \
splash \ splash \
sppp \ sppp \
@ -249,6 +190,30 @@ SUBDIR+=aic \
vinum \ vinum \
wi \ wi \
xe xe
.if ${MACHINE} == "i386"
SUBDIR+=aac \
acpi \
asr \
atspeaker \
cardbus \
cbb \
ciss \
cm \
drm \
el \
exca \
iir \
mly \
rc \
s3 \
vesa
.elif ${MACHINE} == "pc98"
SUBDIR+=pcspeaker \
pmc \
snc
.endif
.endif .endif
.if ${MACHINE_ARCH} == "ia64" .if ${MACHINE_ARCH} == "ia64"