mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 05:42:46 +01:00
gpu: build nova-core and nova-drm from drivers/gpu/Makefile
A dependency between nova-core and nova-drm is about to be introduced, which requires nova-core to be built first. As this is not easily doable from separate directories, move both build targets to the first common parent, `drivers/gpu/Makefile`. Suggested-by: Miguel Ojeda <[email protected]> Signed-off-by: Alexandre Courbot <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
This commit is contained in:
1 parent
7dd19adaaa
commit
ca524e273c
4 files changed
+14
-8
No files matched your search
+11
-1
@@ -7,4 +7,14 @@ obj-$(CONFIG_GPU_BUDDY) += buddy.o
|
||||
obj-y += host1x/ drm/ vga/ tests/
|
||||
obj-$(CONFIG_IMX_IPUV3_CORE) += ipu-v3/
|
||||
obj-$(CONFIG_TRACE_GPU_MEM) += trace/
|
||||
obj-$(CONFIG_NOVA_CORE) += nova-core/
|
||||
|
||||
# nova-core and nova-drm are built from this Makefile so nova-drm's dependency
|
||||
# on nova-core can be expressed as a plain Make prerequisite rather than a
|
||||
# recursive sub-make. This is a temporary workaround until the Rust build
|
||||
# system supports cross-crate dependencies natively.
|
||||
|
||||
obj-$(CONFIG_NOVA_CORE) += nova-core.o
|
||||
nova-core-y := nova-core/nova_core.o
|
||||
|
||||
obj-$(CONFIG_DRM_NOVA) += nova-drm.o
|
||||
nova-drm-y := drm/nova/nova.o
|
||||
@@ -186,7 +186,7 @@ obj-$(CONFIG_DRM_VMWGFX)+= vmwgfx/
|
||||
obj-$(CONFIG_DRM_VGEM) += vgem/
|
||||
obj-$(CONFIG_DRM_VKMS) += vkms/
|
||||
obj-$(CONFIG_DRM_NOUVEAU) +=nouveau/
|
||||
obj-$(CONFIG_DRM_NOVA) += nova/
|
||||
# nova-drm is built from drivers/gpu/Makefile together with nova-core.
|
||||
obj-$(CONFIG_DRM_EXYNOS) +=exynos/
|
||||
obj-$(CONFIG_DRM_ROCKCHIP) +=rockchip/
|
||||
obj-$(CONFIG_DRM_GMA500) += gma500/
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-$(CONFIG_DRM_NOVA) += nova-drm.o
|
||||
nova-drm-y := nova.o
|
||||
# nova-drm is built from drivers/gpu/Makefile.
|
||||
@@ -1,4 +1,2 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-$(CONFIG_NOVA_CORE) += nova-core.o
|
||||
nova-core-y := nova_core.o
|
||||
# nova-core is built from drivers/gpu/Makefile.
|
||||
Reference in new issue
Block a user