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> _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"