diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-06-27 10:50:28 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-27 22:48:50 +0300 |
commit | 57ae676ee63ec810c64aea67fc451ae0900a05f9 (patch) | |
tree | 1034257ad3d5de3a434669ff3b9637588d7d6a67 /drivers/net/ethernet/netronome/nfp/Makefile | |
parent | 6d48ceb27af1420882f092495fc796cfcbf92a14 (diff) | |
download | linux-57ae676ee63ec810c64aea67fc451ae0900a05f9.tar.xz |
nfp: flower: add Kconfig for flower app
Give users an option not to build the flower-offload related code.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/Makefile')
-rw-r--r-- | drivers/net/ethernet/netronome/nfp/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/Makefile b/drivers/net/ethernet/netronome/nfp/Makefile index 10b556b2c59d..43bdbc228969 100644 --- a/drivers/net/ethernet/netronome/nfp/Makefile +++ b/drivers/net/ethernet/netronome/nfp/Makefile @@ -27,10 +27,14 @@ nfp-objs := \ nfp_port.o \ bpf/main.o \ bpf/offload.o \ - flower/cmsg.o \ - flower/main.o \ nic/main.o +ifeq ($(CONFIG_NFP_APP_FLOWER),y) +nfp-objs += \ + flower/cmsg.o \ + flower/main.o +endif + ifeq ($(CONFIG_BPF_SYSCALL),y) nfp-objs += \ bpf/verifier.o \ |