udeb: Ensure that aead and macsec modules are in the right packages

The mscc PHY driver in nic-shared-modules depends on macsec, and macsec depends on aead. At the same time other crypto modules may also depend on aead.

Previously this worked out without any module duplication, because usually CONFIG_CRYPTO_AEAD2=y and aead is built-in.

However, on 7.1 hppa gets CONFIG_CRYPTO_AEAD2=m for reasons I couldn't work out, and aead ends up in both nic-shared-modules and crypto-modules. It's not possible to force aead (only) to be built-in because it's an automatic symbol, so we have to allow for it to be a module.

To fix this duplication, this explicitly puts the modules in the appropriate packages:

  • macsec in nic-shared-modules
  • aead in crypto-modules

and adds a dependency from nic-shared-modules to crypto-modules.

Merge request reports

Loading