sonic-buildimage/platform/broadcom/saibcm-modules/sdklt/linux/knetcb/Kbuild
Mahesh Maddikayala bc2a13136a [BCMSAI] Update BCMSAI debian to 4.3.0.10 with 6.5.21 SDK, and opennsl module to 6.5.21 (#6526)
BCMSAI 4.3.0.10, 6.5.21 SDK release with enhancements and fixes for vxlan, TD3 MMU, TD4-X9 EA support, etc.
2021-02-05 16:08:04 -08:00

37 lines
1.1 KiB
Makefile

# -*- Kbuild -*-
#
# Linux KNET Callback module.
#
# $Copyright: Copyright 2018-2020 Broadcom. All rights reserved.
# The term 'Broadcom' refers to Broadcom Inc. and/or its subsidiaries.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# version 2 as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# A copy of the GNU General Public License version 2 (GPLv2) can
# be found in the LICENSES folder.$
#
ifeq ($(BUILD_PSAMPLE),1)
PSAMPLE_CFLAGS=-DPSAMPLE_SUPPORT
PSAMPLE_CB_OBJS=psample-cb.o
endif
obj-m := linux_ngknetcb.o
ccflags-y := $(LKM_CFLAGS) \
-I$(SDK)/shr/include \
-I$(SDK)/bcmdrd/include \
-I$(SDK)/linux/include \
-I$(SDK)/linux/knet/include \
-I$(SDK)/linux/knet \
$(PSAMPLE_CFLAGS)
linux_ngknetcb-y := ngknetcb_main.o \
$(PSAMPLE_CB_OBJS)