diff mbox series

media: Makefile: fix test drivers compilation

Message ID 20200414190238.1326598-1-helen.koike@collabora.com (mailing list archive)
State New, archived
Headers show
Series media: Makefile: fix test drivers compilation | expand

Commit Message

Helen Mae Koike Fornazier April 14, 2020, 7:02 p.m. UTC
test_drivers/ folder is not being added by media Makefile, so it is not
being compiled.

Add test_drivers/ folder in Makefile folder's list.

Fixes: 4b32216adb010 ("media: split test drivers from platform directory")
Signed-off-by: Helen Koike <helen.koike@collabora.com>
---

 drivers/media/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Mauro Carvalho Chehab April 14, 2020, 7:26 p.m. UTC | #1
Em Tue, 14 Apr 2020 16:02:38 -0300
Helen Koike <helen.koike@collabora.com> escreveu:

> test_drivers/ folder is not being added by media Makefile, so it is not
> being compiled.
> 
> Add test_drivers/ folder in Makefile folder's list.

Applied, thanks!

> 
> Fixes: 4b32216adb010 ("media: split test drivers from platform directory")
> Signed-off-by: Helen Koike <helen.koike@collabora.com>
> ---
> 
>  drivers/media/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/Makefile b/drivers/media/Makefile
> index f215f0a89f9e6..693b3f0bf03ee 100644
> --- a/drivers/media/Makefile
> +++ b/drivers/media/Makefile
> @@ -29,6 +29,6 @@ obj-$(CONFIG_CEC_CORE) += cec/
>  # Finally, merge the drivers that require the core
>  #
>  
> -obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
> +obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test_drivers/
>  obj-$(CONFIG_VIDEO_DEV) += radio/
>  



Thanks,
Mauro
diff mbox series

Patch

diff --git a/drivers/media/Makefile b/drivers/media/Makefile
index f215f0a89f9e6..693b3f0bf03ee 100644
--- a/drivers/media/Makefile
+++ b/drivers/media/Makefile
@@ -29,6 +29,6 @@  obj-$(CONFIG_CEC_CORE) += cec/
 # Finally, merge the drivers that require the core
 #
 
-obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/
+obj-y += common/ platform/ pci/ usb/ mmc/ firewire/ spi/ test_drivers/
 obj-$(CONFIG_VIDEO_DEV) += radio/