Date: Sun, 11 Dec 2016 02:01:59 +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-10@freebsd.org Subject: svn commit: r309842 - in stable/10/sys/modules: . bios Message-ID: <201612110201.uBB21xFX068835@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rpokala Date: Sun Dec 11 02:01:59 2016 New Revision: 309842 URL: https://svnweb.freebsd.org/changeset/base/309842 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. Because 'sys/modules/Makefile' was refactored after stable/10 was branched, the diff for that file is different from that of the original commit. They are functionally equivalent. Modified: stable/10/sys/modules/Makefile stable/10/sys/modules/bios/Makefile Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/modules/Makefile ============================================================================== --- stable/10/sys/modules/Makefile Sun Dec 11 02:01:57 2016 (r309841) +++ stable/10/sys/modules/Makefile Sun Dec 11 02:01:59 2016 (r309842) @@ -683,6 +683,7 @@ _amdsbwd= amdsbwd _amdtemp= amdtemp _arcmsr= arcmsr _asmc= asmc +_bios= bios _bktr= bktr _bxe= bxe _cardbus= cardbus Modified: stable/10/sys/modules/bios/Makefile ============================================================================== --- stable/10/sys/modules/bios/Makefile Sun Dec 11 02:01:57 2016 (r309841) +++ stable/10/sys/modules/bios/Makefile Sun Dec 11 02:01:59 2016 (r309842) @@ -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.uBB21xFX068835>