# -*- 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 := os/posix/nvgpu.c \
os/posix/bitmap.c \
os/posix/bug.c \
os/posix/log.c \
os/posix/kmem.c \
os/posix/io.c \
os/posix/posix-nvgpu_mem.c \
os/posix/posix-dma.c \
os/posix/posix-vm.c \
os/posix/timers.c \
os/posix/posix-comptags.c \
os/posix/firmware.c \
os/posix/soc.c \
os/posix/rwsem.c \
os/posix/cond.c \
os/posix/thread.c \
os/posix/error_notifier.c \
os/posix/fuse.c \
os/posix/clk_arb.c \
os/posix/posix-channel.c \
os/posix/posix-tsg.c \
os/posix/nvlink.c \
os/posix/lock.c \
os/posix/stubs.c \
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/mm/dma.c \
common/bus/bus_gk20a.c \
common/bus/bus_gm20b.c \
common/bus/bus_gp10b.c \
common/bus/bus_gv100.c \
common/priv_ring/priv_ring_gm20b.c \
common/priv_ring/priv_ring_gp10b.c \
common/fb/fb_gm20b.c \
common/fb/fb_gp10b.c \
common/fb/fb_gp106.c \
common/fb/fb_gv100.c \
common/fb/fb_gv11b.c \
common/init/hal_init.c \
common/xve/xve_gp106.c \
common/therm/therm.c \
common/therm/therm_gm20b.c \
common/therm/therm_gp10b.c \
common/therm/therm_gv11b.c \
common/therm/therm_gp106.c \
common/fuse/fuse_gm20b.c \
common/fuse/fuse_gp10b.c \
common/fuse/fuse_gp106.c \
common/top/top_gv100.c \
common/enabled.c \
common/pramin.c \
common/semaphore.c \
common/as.c \
common/rbtree.c \
common/ltc/ltc.c \
common/ltc/ltc_gm20b.c \
common/ltc/ltc_gp10b.c \
common/ltc/ltc_gv11b.c \
common/io_common.c \
common/ecc.c \
common/ce2.c \
common/vbios/bios.c \
common/falcon/falcon.c \
common/falcon/falcon_queue.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/sec2/sec2.c \
common/ptimer/ptimer.c \
common/sync/channel_sync.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 \
common/fifo/channel.c \
common/fifo/submit.c \
common/fifo/tsg.c \
common/mc/mc.c \
common/mc/mc_gm20b.c \
common/mc/mc_gp10b.c \
common/mc/mc_gv11b.c \
common/mc/mc_gv100.c \
common/power_features/power_features.c \
common/power_features/cg/cg.c \
common/power_features/pg/pg.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 \
pmu_perf/pmu_perf.c \
pmu_perf/vfe_equ.c \
pmu_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/ptimer/ptimer_gk20a.c \
gk20a/ce2_gk20a.c \
gk20a/fifo_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/fence_gk20a.c \
gk20a/gr_ctx_gk20a_sim.c \
gk20a/gr_ctx_gk20a.c \
gm20b/hal_gm20b.c \
gm20b/gr_gm20b.c \
gm20b/clk_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 \
gp10b/gr_gp10b.c \
gp10b/gr_ctx_gp10b.c \
gp10b/ce_gp10b.c \
gp10b/fifo_gp10b.c \
gp10b/mm_gp10b.c \
gp10b/pmu_gp10b.c \
gp10b/hal_gp10b.c \
gp10b/regops_gp10b.c \
gp10b/clk_arb_gp10b.c \
gp10b/fecs_trace_gp10b.c \
gp10b/gp10b.c \
gp10b/ecc_gp10b.c \
gv11b/gv11b.c \
gv11b/dbg_gpu_gv11b.c \
gv11b/hal_gv11b.c \
gv11b/gr_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/ecc_gv11b.c \
gp106/hal_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/regops_gp106.c \
gp106/bios_gp106.c \
gp106/clk_gp106.c \
gp106/clk_arb_gp106.c \
gv100/mm_gv100.c \
gv100/gr_ctx_gv100.c \
gv100/bios_gv100.c \
gv100/fifo_gv100.c \
gv100/gr_gv100.c \
gv100/regops_gv100.c \
gv100/flcn_gv100.c \
gv100/nvlink_gv100.c \
gv100/hal_gv100.c \
gv100/pmu_gv100.c \
gv100/perf_gv100.c \
gv100/gsp_gv100.c \
gv100/clk_gv100.c