b3d57dc2b3e63ff5a1826b4c2e63b0b5f2b5ff8a
[openwrt/staging/mkresin.git] /
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
5 directory
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
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
13 errors.
14
15 Signed-off-by: Marek BehĂșn <marek.behun@nic.cz>
16 ---
17 drivers/staging/vc04_services/bcm2835-codec/Makefile | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
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
24
25 ccflags-y += \
26 - -Idrivers/staging/vc04_services \
27 + -I$(srctree)/drivers/staging/vc04_services \
28 -D__VCCOREVER__=0x04000000