Files
linux-nv-oot/drivers/Makefile
Laxman Dewangan c3da1fd361 driver: makefile: Include host1x headers in build path
Multiple drivers include the host1x headers and it adds
the include path in their makefile.

Making this centralize so that driver's makefile does not
need this inclusion explicitly.

Bug 4087103

Change-Id: Iba13ec421582b95444b43b38d3276be004b78587
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2894383
Reviewed-by: Jonathan Hunter <jonathanh@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2023-04-27 02:55:27 -07:00

69 lines
1.3 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
LINUXINCLUDE += -I$(srctree.nvidia-oot)/include
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/hw/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/video/tegra/host/
LINUXINCLUDE += -I$(srctree.nvidia-oot)/drivers/gpu/host1x/include
obj-m += block/tegra_virt_storage/
ifdef CONFIG_PSTORE
obj-m += block/tegra_oops_virt_storage/
endif
ifdef CONFIG_BT
obj-m += bluetooth/realtek/
endif
obj-m += c2c/
obj-m += clink/
obj-m += cpuidle/
obj-m += crypto/
obj-m += debug/
ifdef CONFIG_PM_DEVFREQ
obj-m += devfreq/
endif
obj-m += firmware/tegra/
ifdef CONFIG_TEGRA_HOST1X
obj-m += gpu/
endif
ifdef CONFIG_I2C
obj-m += i2c/busses/
obj-m += mfd/
endif
ifdef CONFIG_MTD
obj-m += mtd/devices/
endif
obj-m += misc/
obj-m += net/
obj-m += nvpps/
obj-m += nvpmodel/
ifdef CONFIG_PCI
obj-m += pci/
endif
obj-m += pinctrl/
obj-m += platform/tegra/
obj-m += pwm/
obj-m += ras/
obj-m += rtc/
obj-m += cpuidle/
ifdef CONFIG_SCSI
obj-m += scsi/ufs/
endif
obj-m += soc/tegra/
ifdef CONFIG_SPI
obj-m += spi/
endif
ifdef CONFIG_I2C
obj-m += thermal/
endif
obj-m += watchdog/
ifdef CONFIG_TEGRA_HOST1X
obj-m += video/tegra/
endif
obj-m += virt/tegra/
ifdef CONFIG_TEGRA_HOST1X
obj-m += media/
endif
obj-m += staging/platform/tegra/gte/
obj-m += staging/platform/tegra/gte_test/