HomeFreeBSD

When building modules, define make variable OPT_FDT if the kernel config

Description

When building modules, define make variable OPT_FDT if the kernel config
includes the FDT option. Use OPT_FDT to conditionally compile modules
that require FDT support.

In the past we've gotten away with using the arch name as a proxy for FDT
support in makefile conditional logic, but now mips has some platforms with
fdt support and some without and we need a more direct test.

Details

Provenance
ianAuthored on
Parents
rS300854: Plug route reference underleak that happens with FLOWTABLE after r297225.
Branches
Unknown
Tags
Unknown