HomeFreeBSD

bi_load: only add MODULEP on arches that have it defined

Description

bi_load: only add MODULEP on arches that have it defined

Do not attempt to add MODINFOMD_MODULEP to the kernel medatada on
arches that don't have it defined.

This fixes the build for arches different than amd64 after
7d3259775cb69f250df3e7fe51d6fff2283c6f20.

Sponsored by: Citrix Systems R&D
Reported by: lwhsu, arichardson

(cherry picked from commit 97527e9c4fd37140da3129bc12003172edbf7a23)

Details

Provenance
roygerAuthored on Feb 16 2021, 3:06 PM
impCommitted on Jan 24 2023, 9:49 PM
Parents
rG39917afeed9d: stand/multiboot2: add support for booting a Xen dom0 in UEFI mode
Branches
Unknown
Tags
Unknown