# -*- mode: makefile -*-
#
# Copyright (c) 2018, 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.
srcs := common/mm/nvgpu_allocator.c \
common/mm/bitmap_allocator.c \
common/mm/buddy_allocator.c \
common/mm/page_allocator.c \
common/mm/lockless_allocator.c \
common/mm/gmmu.c \
common/mm/pd_cache.c \
common/mm/vm.c \
common/mm/vm_area.c \
common/mm/nvgpu_mem.c \
common/mm/comptags.c \
common/mm/mm.c \
common/enabled.c \
common/pramin.c \
common/semaphore.c \
common/as.c \
common/rbtree.c \
common/ltc.c \
common/vbios/bios.c \
common/falcon/falcon.c \
common/pmu/pmu.c \
common/pmu/pmu_ipc.c \
common/pmu/pmu_fw.c \
common/pmu/pmu_pg.c \
common/pmu/pmu_perfmon.c \
common/pmu/pmu_debug.c \
common/posix/nvgpu.c \
common/posix/bitmap.c \
common/posix/bug.c \
common/posix/log.c \
common/posix/kmem.c \
common/posix/io.c \
common/posix/posix-nvgpu_mem.c \
common/posix/dma.c \
common/posix/posix-vm.c \
common/posix/timers.c \
common/posix/posix-comptags.c \
common/posix/firmware.c \
common/posix/soc.c \
common/posix/rwsem.c \
common/posix/cond.c \
common/posix/thread.c \
common/posix/error_notifier.c \
common/posix/fuse.c \
common/posix/clk_arb.c \
common/posix/channel.c \
common/posix/tsg.c \
common/posix/nvlink.c \
common/posix/lock.c \
common/posix/stubs.c \
common/ptimer/ptimer.c \
common/clock_gating/gm20b_gating_reglist.c \
common/clock_gating/gp10b_gating_reglist.c \
common/clock_gating/gv11b_gating_reglist.c \
common/clock_gating/gp106_gating_reglist.c \
common/clock_gating/gv100_gating_reglist.c \
boardobj/boardobj.c \
boardobj/boardobjgrp.c \
boardobj/boardobjgrpmask.c \
boardobj/boardobjgrp_e255.c \
boardobj/boardobjgrp_e32.c \
pstate/pstate.c \
volt/volt_dev.c \
volt/volt_pmu.c \
volt/volt_policy.c \
volt/volt_rail.c \
clk/clk.c \
clk/clk_domain.c \
clk/clk_fll.c \
clk/clk_freq_controller.c \
clk/clk_prog.c \
clk/clk_vf_point.c \
clk/clk_vin.c \
therm/thrm.c \
therm/thrmchannel.c \
therm/thrmdev.c \
therm/thrmpmu.c \
perf/perf.c \
perf/vfe_equ.c \
perf/vfe_var.c \
pmgr/pmgr.c \
pmgr/pmgrpmu.c \
pmgr/pwrdev.c \
pmgr/pwrmonitor.c \
pmgr/pwrpolicy.c \
lpwr/lpwr.c \
lpwr/rppg.c \
gk20a/gk20a.c \
common/bus/bus_gk20a.c \
common/ptimer/ptimer_gk20a.c \
gk20a/ce2_gk20a.c \
gk20a/fifo_gk20a.c \
gk20a/channel_gk20a.c \
gk20a/channel_sync_gk20a.c \
gk20a/dbg_gpu_gk20a.c \
gk20a/regops_gk20a.c \
gk20a/gr_gk20a.c \
gk20a/mm_gk20a.c \
gk20a/pmu_gk20a.c \
gk20a/flcn_gk20a.c \
gk20a/priv_ring_gk20a.c \
gk20a/fence_gk20a.c \
gk20a/therm_gk20a.c \
gk20a/gr_ctx_gk20a_sim.c \
gk20a/gr_ctx_gk20a.c \
gk20a/fb_gk20a.c \
gk20a/hal.c \
gk20a/tsg_gk20a.c \
gk20a/mc_gk20a.c \
gm20b/hal_gm20b.c \
common/bus/bus_gm20b.c \
gm20b/ltc_gm20b.c \
gm20b/gr_gm20b.c \
gm20b/clk_gm20b.c \
gm20b/fb_gm20b.c \
gm20b/fifo_gm20b.c \
gm20b/gr_ctx_gm20b.c \
gm20b/acr_gm20b.c \
gm20b/pmu_gm20b.c \
gm20b/mm_gm20b.c \
gm20b/regops_gm20b.c \
gm20b/therm_gm20b.c \
gm20b/fuse_gm20b.c \
gp10b/gr_gp10b.c \
gp10b/gr_ctx_gp10b.c \
gp10b/ce_gp10b.c \
gp10b/mc_gp10b.c \
gp10b/fifo_gp10b.c \
gp10b/ltc_gp10b.c \
gp10b/mm_gp10b.c \
gp10b/fb_gp10b.c \
gp10b/pmu_gp10b.c \
gp10b/hal_gp10b.c \
gp10b/rpfb_gp10b.c \
gp10b/regops_gp10b.c \
gp10b/therm_gp10b.c \
gp10b/fecs_trace_gp10b.c \
gp10b/priv_ring_gp10b.c \
gp10b/gp10b.c \
gp10b/fuse_gp10b.c \
gv11b/gv11b.c \
gv11b/dbg_gpu_gv11b.c \
gv11b/mc_gv11b.c \
gv11b/ltc_gv11b.c \
gv11b/hal_gv11b.c \
gv11b/gr_gv11b.c \
gv11b/fb_gv11b.c \
gv11b/fifo_gv11b.c \
gv11b/mm_gv11b.c \
gv11b/ce_gv11b.c \
gv11b/gr_ctx_gv11b.c \
gv11b/pmu_gv11b.c \
gv11b/acr_gv11b.c \
gv11b/subctx_gv11b.c \
gv11b/regops_gv11b.c \
gv11b/therm_gv11b.c \
gp106/hal_gp106.c \
gp106/mm_gp106.c \
gp106/flcn_gp106.c \
gp106/pmu_gp106.c \
gp106/mclk_gp106.c \
gp106/gr_gp106.c \
gp106/gr_ctx_gp106.c \
gp106/acr_gp106.c \
gp106/sec2_gp106.c \
gp106/fifo_gp106.c \
gp106/fb_gp106.c \
gp106/regops_gp106.c \
gp106/bios_gp106.c \
gp106/fuse_gp106.c \
gp106/clk_gp106.c \
gp106/clk_arb_gp106.c \
gp106/xve_gp106.c \
gp106/therm_gp106.c \
gv100/mm_gv100.c \
gv100/gr_ctx_gv100.c \
gv100/fb_gv100.c \
gv100/bios_gv100.c \
gv100/fifo_gv100.c \
gv100/gr_gv100.c \
gv100/regops_gv100.c \
gv100/flcn_gv100.c \
gv100/mc_gv100.c \
gv100/nvlink_gv100.c \
gv100/hal_gv100.c \
gv100/pmu_gv100.c