Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
ccflags-y += -I$(src)/include
|
|
ccflags-y += -I$(src)/include/nvkm
|
|
ccflags-y += -I$(src)/nvkm
|
|
ccflags-y += -I$(src)
|
|
|
|
# NVKM - HW resource manager
|
|
#- code also used by various userspace tools/tests
|
|
include $(src)/nvif/Kbuild
|
|
nouveau-y := $(nvif-y)
|
|
|
|
# NVIF - NVKM interface library (NVKM user interface also defined here)
|
|
#- code also used by various userspace tools/tests
|
|
include $(src)/nvkm/Kbuild
|
|
nouveau-y += $(nvkm-y)
|
|
|
|
# DRM - general
|
|
ifdef CONFIG_X86
|
|
nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
|
|
endif
|
|
nouveau-$(CONFIG_DEBUG_FS) += nouveau_debugfs.o
|
|
nouveau-y += nouveau_drm.o
|
|
nouveau-y += nouveau_hwmon.o
|
|
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
|
|
nouveau-$(CONFIG_LEDS_CLASS) += nouveau_led.o
|
|
nouveau-y += nouveau_nvif.o
|
|
nouveau-$(CONFIG_NOUVEAU_PLATFORM_DRIVER) += nouveau_platform.o
|
|
nouveau-y += nouveau_usif.o # userspace <-> nvif
|
|
nouveau-y += nouveau_vga.o
|
|
|
|
# DRM - memory management
|
|
nouveau-y += nouveau_bo.o
|
|
nouveau-y += nouveau_gem.o
|
|
nouveau-y += nouveau_prime.o
|
|
nouveau-y += nouveau_sgdma.o
|
|
nouveau-y += nouveau_ttm.o
|
|
|
|
# DRM - modesetting
|
|
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
|
|
nouveau-y += nouveau_connector.o
|
|
nouveau-y += nouveau_display.o
|
|
nouveau-y += nv50_display.o
|
|
nouveau-y += nouveau_dp.o
|
|
nouveau-y += nouveau_fbcon.o
|
|
nouveau-y += nv04_fbcon.o
|
|
nouveau-y += nv50_fbcon.o
|
|
nouveau-y += nvc0_fbcon.o
|
|
|
|
# DRM - command submission
|
|
nouveau-y += nouveau_abi16.o
|
|
nouveau-y += nouveau_chan.o
|
|
nouveau-y += nouveau_dma.o
|
|
nouveau-y += nouveau_fence.o
|
|
nouveau-y += nv04_fence.o
|
|
nouveau-y += nv10_fence.o
|
|
nouveau-y += nv17_fence.o
|
|
nouveau-y += nv50_fence.o
|
|
nouveau-y += nv84_fence.o
|
|
nouveau-y += nvc0_fence.o
|
|
|
|
# DRM - prehistoric modesetting (NV04-G7x)
|
|
nouveau-y += nouveau_bios.o
|
|
include $(src)/dispnv04/Kbuild
|
|
|
|
obj-$(CONFIG_DRM_NOUVEAU) += nouveau.o
|