diff options
author | rpokala <rpokala@FreeBSD.org> | 2016-12-11 02:01:57 +0000 |
---|---|---|
committer | rpokala <rpokala@FreeBSD.org> | 2016-12-11 02:01:57 +0000 |
commit | bee43bafd9d8bfa560c60b8eeeffc40b279b1f2d (patch) | |
tree | 32db7a4817d58416b8c5a7a3ba0b348bfe7bb726 | |
parent | 4e59ab96afe21cb39483bdf91bd7e8a26be1ae83 (diff) | |
download | FreeBSD-src-bee43bafd9d8bfa560c60b8eeeffc40b279b1f2d.zip FreeBSD-src-bee43bafd9d8bfa560c60b8eeeffc40b279b1f2d.tar.gz |
MFC r309491: Build smbios.ko as a module for amd64 and i386
For whatever reason, smapi, smbios, vpd are all under the "bios" directory.
smapi is only for i386, so the entire "bios" directory is only built for
i386. Break smapi out, and make only it i386-specific. Then, build the
"bios" directory for both amd64 and i386.
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/bios/Makefile | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index d7c5624..b0bbcb2 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -544,6 +544,7 @@ _igb= igb _agp= agp _an= an _aout= aout +_bios= bios _bktr= bktr _bxe= bxe _cardbus= cardbus @@ -726,7 +727,6 @@ _wds= wds .if ${MK_EISA} != "no" _ahb= ahb .endif -_bios= bios _cm= cm .if ${MK_SOURCELESS_UCODE} != "no" _ctau= ctau diff --git a/sys/modules/bios/Makefile b/sys/modules/bios/Makefile index d150806..7d255a9 100644 --- a/sys/modules/bios/Makefile +++ b/sys/modules/bios/Makefile @@ -1,6 +1,10 @@ # $FreeBSD$ # -SUBDIR= smapi smbios vpd +SUBDIR= smbios vpd + +.if ${MACHINE_ARCH} == "i386" +SUBDIR+= smapi +.endif .include <bsd.subdir.mk> |