diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-08-01 22:19:01 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-08-01 22:19:01 +0000 |
commit | a2e1257dac349364bf2162e7c5d187107fcd8725 (patch) | |
tree | aba24c38e600543d1256c6e33ef0efd99bf3900f /include | |
parent | a152234cf9a52766984ecb9a96cc1e5740ae9d78 (diff) | |
download | FreeBSD-src-a2e1257dac349364bf2162e7c5d187107fcd8725.zip FreeBSD-src-a2e1257dac349364bf2162e7c5d187107fcd8725.tar.gz |
Add device to access and modify Open Firmware NVRAM settings in
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.
Only tested on 1.25GHz G4 Mac Mini.
MFC after: 1 month
Diffstat (limited to 'include')
-rw-r--r-- | include/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/Makefile b/include/Makefile index b274a54..b7b653a 100644 --- a/include/Makefile +++ b/include/Makefile @@ -41,7 +41,7 @@ LDIRS= bsm cam geom net net80211 netatalk netatm netgraph netinet netinet6 \ LSUBDIRS= cam/scsi \ dev/acpica dev/an dev/bktr dev/firewire dev/hwpmc \ dev/ic dev/iicbus ${_dev_ieee488} dev/lmc dev/ofw \ - dev/pbio dev/ppbus dev/smbus dev/speaker dev/usb dev/wi dev/utopia \ + dev/pbio ${_dev_powermac_nvram} dev/ppbus dev/smbus dev/speaker dev/usb dev/wi dev/utopia \ fs/devfs fs/fdescfs fs/fifofs fs/msdosfs fs/ntfs fs/nullfs \ ${_fs_nwfs} fs/portalfs fs/procfs fs/smbfs fs/udf fs/umapfs \ fs/unionfs \ @@ -55,6 +55,10 @@ LSUBDIRS= cam/scsi \ security/mac_mls security/mac_partition \ ufs/ffs ufs/ufs +.if ${MACHINE_ARCH} == "powerpc" +_dev_powermac_nvram= dev/powermac_nvram +.endif + .if ${MK_GPIB} != "no" _dev_ieee488= dev/ieee488 .endif |