2016-03-11 11:13, Panu Matilainen: > If the experimental CONFIG_RTE_LIBRTE_CRYPTODEV is disabled, > build of any crypto pmds will fail because of the missing dependency. > This has been present for a while now but hidden until the addition > of null_crypto since all the other crypto pmds have been disabled > by default. > > Conditionalize the entire drivers/crypto directory on > CONFIG_RTE_LIBRTE_CRYPTODEV to fix. > > Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices") > > Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
Applied with small rework, thanks. > +ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) > DIRS-y += crypto > +endif DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto