mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
ofwdump: install dependent on MK_FDT
The utility depends on the presence of the openfirm(4) pseudo-device, which is gated by the FDT kernel option. The MK_FDT knob is correctly set to "yes" for FDT/OFW-enabled platforms (powerpc* included); use it to install the utility and eliminate the arch-specific Makefile logic. No functional change intended. Reviewed by: emaste, pkubaj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D41977
This commit is contained in:
parent
d94d07d581
commit
773606fcdf
@ -2016,6 +2016,7 @@ OLD_DIRS+=usr/share/examples/ypldap
|
||||
.endif
|
||||
|
||||
.if ${MK_FDT} == no
|
||||
OLD_FILES+=usr/sbin/ofwdump
|
||||
OLD_FILES+=usr/share/man/man8/ofwdump.8.gz
|
||||
.endif
|
||||
|
||||
|
@ -133,6 +133,7 @@ SUBDIR.${MK_EFI}+= efivar efidp efibootmgr efitable efiwake
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
SUBDIR.${MK_EFI}+= uefisign
|
||||
.endif
|
||||
SUBDIR.${MK_FDT}+= ofwdump
|
||||
SUBDIR.${MK_FLOPPY}+= fdcontrol
|
||||
SUBDIR.${MK_FLOPPY}+= fdformat
|
||||
SUBDIR.${MK_FLOPPY}+= fdread
|
||||
|
@ -2,4 +2,3 @@
|
||||
.if ${MK_ACPI} != "no"
|
||||
SUBDIR+= acpi
|
||||
.endif
|
||||
SUBDIR+= ofwdump
|
||||
|
@ -1,2 +0,0 @@
|
||||
|
||||
SUBDIR+= ofwdump
|
@ -2,4 +2,3 @@
|
||||
.if ${MACHINE_ARCH} != "powerpcspe"
|
||||
SUBDIR+= nvram
|
||||
.endif
|
||||
SUBDIR+= ofwdump
|
||||
|
@ -1,2 +0,0 @@
|
||||
|
||||
SUBDIR+= ofwdump
|
Loading…
Reference in New Issue
Block a user