mirror of
git://nv-tegra.nvidia.com/kernel/nvethernetrm.git
synced 2025-12-22 17:34:29 +03:00
nvethernetrm: qnx sdk makefiles
Bug 200618758 Change-Id: Iac768d6821d533a9d4e6d7d734d94998b40d8bf3 Signed-off-by: Mahesh Patil <maheshp@nvidia.com> (cherry picked from commit a83c7aeaf567021ad78c19165a4c8b10127e5de7) Reviewed-on: https://git-master.nvidia.com/r/c/kernel/nvethernetrm/+/2368398 Reviewed-by: Praveen Mallaiah <pmallaiah@nvidia.com> Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: Praveen Mallaiah <pmallaiah@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
mobile promotions
parent
85aa4b77bd
commit
16c4671998
37
osi/core/Makefile.sdk
Normal file
37
osi/core/Makefile.sdk
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Copyright (c) 2020 NVIDIA CORPORATION. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
||||||
|
# and proprietary rights in and to this software, related documentation
|
||||||
|
# and any modifications thereto. Any use, reproduction, disclosure or
|
||||||
|
# distribution of this software and related documentation without an express
|
||||||
|
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
||||||
|
|
||||||
|
include ../../../../../../../../../drive-t186ref-qnx/make/nvdefs.mk
|
||||||
|
|
||||||
|
TARGETS = libnvethernetrm.so
|
||||||
|
|
||||||
|
CFLAGS += -g -Wall $(NV_PLATFORM_OPT) $(NV_PLATFORM_CFLAGS)
|
||||||
|
CPPFLAGS = $(NV_PLATFORM_SDK_INC) $(NV_PLATFORM_CPPFLAGS) -I../../../include -I../dma -I../common/include
|
||||||
|
CPPFLAGS += -DNV_IS_SAFETY=$(NV_PLATFORM_SAFETY)
|
||||||
|
LDFLAGS := \
|
||||||
|
$(NV_PLATFORM_SDK_LIB) \
|
||||||
|
$(NV_PLATFORM_LDFLAGS)
|
||||||
|
LDFLAGS += -shared
|
||||||
|
|
||||||
|
OBJS := eqos_core.o
|
||||||
|
OBJS += eqos_mmc.o
|
||||||
|
OBJS += osi_core.o
|
||||||
|
OBJS += ./../common/osi_common.o
|
||||||
|
OBJS += ./../common/eqos_common.o
|
||||||
|
|
||||||
|
LDLIBS += -lnvethernetcl
|
||||||
|
LDLIBS += -lnvos_s3_safety
|
||||||
|
|
||||||
|
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||||
|
|
||||||
|
$(TARGETS): $(OBJS)
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||||
|
$(STRIP) --strip-unneeded -R .comment -R .GCC.command.line $@
|
||||||
|
|
||||||
|
clean clobber:
|
||||||
|
rm -rf $(OBJS) $(TARGETS)
|
||||||
37
osi/dma/Makefile.sdk
Normal file
37
osi/dma/Makefile.sdk
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Copyright (c) 2020 NVIDIA CORPORATION. All Rights Reserved.
|
||||||
|
#
|
||||||
|
# NVIDIA CORPORATION and its licensors retain all intellectual property
|
||||||
|
# and proprietary rights in and to this software, related documentation
|
||||||
|
# and any modifications thereto. Any use, reproduction, disclosure or
|
||||||
|
# distribution of this software and related documentation without an express
|
||||||
|
# license agreement from NVIDIA CORPORATION is strictly prohibited.
|
||||||
|
|
||||||
|
include ../../../../../../../../../drive-t186ref-qnx/make/nvdefs.mk
|
||||||
|
|
||||||
|
TARGETS = libnvethernetcl.so
|
||||||
|
|
||||||
|
CFLAGS += -g -Wall $(NV_PLATFORM_OPT) $(NV_PLATFORM_CFLAGS)
|
||||||
|
CPPFLAGS = $(NV_PLATFORM_SDK_INC) $(NV_PLATFORM_CPPFLAGS) -I../../../include -I../core -I../common/include
|
||||||
|
CPPFLAGS += -DNV_IS_SAFETY=$(NV_PLATFORM_SAFETY)
|
||||||
|
LDFLAGS := \
|
||||||
|
$(NV_PLATFORM_SDK_LIB) \
|
||||||
|
$(NV_PLATFORM_LDFLAGS)
|
||||||
|
LDFLAGS += -shared
|
||||||
|
|
||||||
|
OBJS := eqos_dma.o
|
||||||
|
OBJS += osi_dma.o
|
||||||
|
OBJS += osi_dma_txrx.o
|
||||||
|
OBJS += ./../common/osi_common.o
|
||||||
|
OBJS += ./../common/eqos_common.o
|
||||||
|
|
||||||
|
LDLIBS += -lnvethernetrm
|
||||||
|
LDLIBS += -lnvos_s3_safety
|
||||||
|
|
||||||
|
CFLAGS += -D_FILE_OFFSET_BITS=64
|
||||||
|
|
||||||
|
$(TARGETS): $(OBJS)
|
||||||
|
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||||
|
$(STRIP) --strip-unneeded -R .comment -R .GCC.command.line $@
|
||||||
|
|
||||||
|
clean clobber:
|
||||||
|
rm -rf $(OBJS) $(TARGETS)
|
||||||
Reference in New Issue
Block a user