diff options
author | Ye Li <ye.li@nxp.com> | 2017-12-20 03:42:55 -0600 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-12-20 04:01:00 -0600 |
commit | 3718e26ce48c9546c1a39e35d0a092e4b4c1a7ee (patch) | |
tree | fba161f5ddf07525515425cfa78e5a33dacba460 | |
parent | e363a689d593f020028345a82c813e99de3f8565 (diff) |
MLK-17262 video: Fix build break when CONFIG_VIDEO_IMX_HDP_LOAD is not selected
Met build errors below when CONFIG_VIDEO_IMX_HDP_LOAD is not selected. Because the u-boot
make script checks the "$(obj-y) $(obj-m) $(obj-) $(subdir-m) $(lib-target)" for built-in target.
aarch64-poky-linux-ld.bfd: cannot find drivers/video/imx/built-in.o: No such file or directory
scripts/Makefile.build:359: recipe for target 'drivers/video/built-in.o' failed
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 8c81dfb83f59ceb358f91564b9d48052d3df97cb)
-rw-r--r-- | drivers/video/imx/Makefile | 11 |
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/ |