Skip to content

Commit 2cde14b

Browse files
sgruszkajlawryno
authored andcommitted
accel: Build sub-directories based on config options
When accel drivers are disabled do not process into sub-directories and create built-in archives: AR drivers/accel/habanalabs/built-in.a AR drivers/accel/ivpu/built-in.a Fixes: 35b1376 ("accel/ivpu: Introduce a new DRM driver for Intel VPU") Signed-off-by: Stanislaw Gruszka <[email protected]> Reviewed-by: Jeffrey Hugo <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit dd61bbd) Signed-off-by: Jacek Lawrynowicz <[email protected]>
1 parent b3c9a04 commit 2cde14b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/accel/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
22

3-
obj-y += habanalabs/
4-
obj-y += ivpu/
3+
obj-$(CONFIG_DRM_ACCEL_HABANALABS) += habanalabs/
4+
obj-$(CONFIG_DRM_ACCEL_IVPU) += ivpu/

0 commit comments

Comments
 (0)