mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: compile out bsearch.c from safety build
- We are compiling “os/posix/bsearch.c” as part of safety-build, but we are not using bsearch.c file API from any safety file. JIRA NVGPU-6172 Change-Id: Id0ebf00287f7564e629c28190f90edd68288dd70 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2424541 (cherry picked from commit ce822b1c8766faf5642079f0d5dde347ac2c5087) Signed-off-by: srajum <srajum@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2447418 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
9b81c28dd3
commit
a03da4a077
@@ -1,6 +1,6 @@
|
||||
# -*- mode: makefile -*-
|
||||
#
|
||||
# Copyright (c) 2018-2020, NVIDIA CORPORATION. All rights reserved.
|
||||
# Copyright (c) 2018-2021, 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"),
|
||||
@@ -80,13 +80,16 @@ srcs += os/posix/bug.c \
|
||||
os/posix/cond.c \
|
||||
os/posix/lock.c \
|
||||
os/posix/thread.c \
|
||||
os/posix/bsearch.c \
|
||||
os/posix/os_sched.c \
|
||||
os/posix/bitmap.c \
|
||||
os/posix/kmem.c \
|
||||
os/posix/file_ops.c \
|
||||
os/posix/queue.c
|
||||
|
||||
ifeq ($(NV_BUILD_CONFIGURATION_IS_SAFETY),0)
|
||||
srcs += os/posix/bsearch.c
|
||||
endif
|
||||
|
||||
srcs += common/device.c \
|
||||
common/utils/enabled.c \
|
||||
common/utils/rbtree.c \
|
||||
|
||||
Reference in New Issue
Block a user