1 From 11076f57f802d2bdec3f1861ba27ce5554a710ca Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <marek.behun@nic.cz>
3 Date: Sat, 3 Aug 2019 14:34:59 +0200
4 Subject: [PATCH] staging: vc04_services: fix compiling in separate
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
10 The vc04_services Makefiles do not respect the O=path argument
11 correctly: include paths in CFLAGS are given relatively to object path,
12 not source path. Compiling in a separate directory yields #include
15 Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
17 drivers/staging/vc04_services/bcm2835-codec/Makefile | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
20 --- a/drivers/staging/vc04_services/bcm2835-codec/Makefile
21 +++ b/drivers/staging/vc04_services/bcm2835-codec/Makefile
22 @@ -4,5 +4,5 @@ bcm2835-codec-objs := bcm2835-v4l2-codec
23 obj-$(CONFIG_VIDEO_CODEC_BCM2835) += bcm2835-codec.o
26 - -Idrivers/staging/vc04_services \
27 + -I$(srctree)/drivers/staging/vc04_services \
28 -D__VCCOREVER__=0x04000000