diff options
author | Parav Pandit <parav@mellanox.com> | 2018-04-26 10:56:34 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-01 18:16:36 +0300 |
commit | 2f6e51365727a1428d281821ec928904c723e47d (patch) | |
tree | 77ff65e7877bdb5b247c7c1e96fef4766f59129a /drivers/infiniband/core/Makefile | |
parent | e12ee8ce51435c4d24f437f10e0fce773505c674 (diff) | |
download | linux-2f6e51365727a1428d281821ec928904c723e47d.tar.xz |
IB/core: Use CONFIG_SECURITY_INFINIBAND to compile out security code
Make security.c depends on CONFIG_SECURITY_INFINIBAND.
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/Makefile')
-rw-r--r-- | drivers/infiniband/core/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile index dda9e856e3fa..1cfedc469b23 100644 --- a/drivers/infiniband/core/Makefile +++ b/drivers/infiniband/core/Makefile @@ -12,8 +12,9 @@ ib_core-y := packer.o ud_header.o verbs.o cq.o rw.o sysfs.o \ device.o fmr_pool.o cache.o netlink.o \ roce_gid_mgmt.o mr_pool.o addr.o sa_query.o \ multicast.o mad.o smi.o agent.o mad_rmpp.o \ - security.o nldev.o restrack.o + nldev.o restrack.o +ib_core-$(CONFIG_SECURITY_INFINIBAND) += security.o ib_core-$(CONFIG_INFINIBAND_USER_MEM) += umem.o ib_core-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += umem_odp.o ib_core-$(CONFIG_CGROUP_RDMA) += cgroup.o |