summaryrefslogtreecommitdiff
path: root/drivers/video/imx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/imx/Makefile')
-rw-r--r--drivers/video/imx/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/video/imx/Makefile b/drivers/video/imx/Makefile
index 1d688c701f..0ec6e0ea68 100644
--- a/drivers/video/imx/Makefile
+++ b/drivers/video/imx/Makefile
@@ -1,7 +1,8 @@
-ifdef CONFIG_VIDEO_IMX_HDP_LOAD
+#
+# Copyright 2017 NXP
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
UBOOTINCLUDE += -I$(srctree)/drivers/video/imx/hdp
-obj-y += hdpload.o
-obj-y += hdp/
-
-endif
+obj-$(CONFIG_VIDEO_IMX_HDP_LOAD) += hdpload.o hdp/