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>
55 lines
2.3 KiB
Makefile
55 lines
2.3 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 := nvethernetcl
|
|
NV_COMPONENT_OWN_INTERFACE_DIR := .
|
|
NV_COMPONENT_SOURCES := \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/eqos_dma.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/osi_dma.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/osi_dma_txrx.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/mgbe_dma.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/eqos_desc.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/mgbe_desc.c \
|
|
$(NV_SOURCE)/nvethernetrm/osi/dma/debug.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_COMPONENT_INCLUDES := \
|
|
$(NV_SOURCE)/nvethernetrm/include \
|
|
$(NV_SOURCE)/nvethernetrm/osi/common/include
|
|
|
|
ifeq ($(NV_BUILD_CONFIGURATION_IS_SAFETY),0)
|
|
NV_COMPONENT_CFLAGS += -DOSI_DEBUG
|
|
else
|
|
NV_COMPONENT_CFLAGS += -DOSI_STRIPPED_LIB
|
|
endif
|
|
include $(NV_BUILD_STATIC_LIBRARY)
|
|
endif
|