mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 09:12:10 +03:00
Bug 3918941 Change-Id: Iae1cce6bb0bffaa20d601a0c5da62045ce9458fc Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2852448 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
71 lines
2.7 KiB
Makefile
71 lines
2.7 KiB
Makefile
################################### tell Emacs this is a -*- makefile-gmake -*-
|
|
#
|
|
# Copyright (c) 2019-2023, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# Permission is hereby granted, free of charge, to any person obtaining a
|
|
# copy of this software and associated documentation files (the "Software"),
|
|
# to deal in the Software without restriction, including without limitation
|
|
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
# and/or sell copies of the Software, and to permit persons to whom the
|
|
# Software is furnished to do so, subject to the following conditions:
|
|
#
|
|
# The above copyright notice and this permission notice shall be included in
|
|
# all copies or substantial portions of the Software.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
# DEALINGS IN THE SOFTWARE.
|
|
#
|
|
###############################################################################
|
|
|
|
ifdef NV_COMPONENT_FLAG_STATIC_LIBRARY_SECTION
|
|
include $(NV_BUILD_START_COMPONENT)
|
|
|
|
NV_COMPONENT_STRICT_WARNINGS_qnx_64 := 1
|
|
|
|
NV_COMPONENT_NAME := nvethernetrm
|
|
NV_COMPONENT_OWN_INTERFACE_DIR := .
|
|
NV_COMPONENT_SOURCES := \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/eqos_core.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/eqos_mmc.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/osi_core.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/osi_hal.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/ivc_core.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/frp.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/mgbe_core.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/xpcs.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/mgbe_mmc.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/core_common.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/common/osi_common.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/common/eqos_common.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/common/mgbe_common.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/macsec.c
|
|
|
|
NV_COMPONENT_INCLUDES := \
|
|
$(NV_SOURCE)/nvethernetrm/include \
|
|
$(NV_SOURCE)/nvethernetrm/osi/common/include
|
|
|
|
include $(NV_SOURCE)/nvethernetrm/include/config.tmk
|
|
|
|
ifeq ($(OSI_DEBUG),1)
|
|
NV_COMPONENT_SOURCES += $(NV_SOURCE)/nvethernetrm/osi/core/debug.c
|
|
endif
|
|
|
|
ifeq ($(OSI_STRIPPED_LIB),0)
|
|
NV_COMPONENT_SOURCES += \
|
|
$(NV_SOURCE)/nvethernetrm/osi/core/vlan_filter.c
|
|
endif
|
|
|
|
include $(NV_BUILD_STATIC_LIBRARY)
|
|
endif
|
|
|
|
# Local Variables:
|
|
# indent-tabs-mode: t
|
|
# tab-width: 8
|
|
# End:
|
|
# vi: set tabstop=8 noexpandtab:
|