Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 02:01:57 +0000 (UTC)
From:      Ravi Pokala <rpokala@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r309841 - in stable/11/sys/modules: . bios
Message-ID:  <201612110201.uBB21vvF068789@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpokala
Date: Sun Dec 11 02:01:57 2016
New Revision: 309841
URL: https://svnweb.freebsd.org/changeset/base/309841

Log:
  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.

Modified:
  stable/11/sys/modules/Makefile
  stable/11/sys/modules/bios/Makefile
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/modules/Makefile
==============================================================================
--- stable/11/sys/modules/Makefile	Sat Dec 10 23:58:14 2016	(r309840)
+++ stable/11/sys/modules/Makefile	Sun Dec 11 02:01:57 2016	(r309841)
@@ -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

Modified: stable/11/sys/modules/bios/Makefile
==============================================================================
--- stable/11/sys/modules/bios/Makefile	Sat Dec 10 23:58:14 2016	(r309840)
+++ stable/11/sys/modules/bios/Makefile	Sun Dec 11 02:01:57 2016	(r309841)
@@ -1,6 +1,10 @@
 # $FreeBSD$
 #
 
-SUBDIR=	smapi smbios vpd
+SUBDIR=	smbios vpd
+
+.if ${MACHINE_ARCH} == "i386"
+SUBDIR+=	smapi
+.endif
 
 .include <bsd.subdir.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612110201.uBB21vvF068789>