layerscape: add patches-5.4
[openwrt/staging/wigyori.git] / target / linux / layerscape / patches-5.4 / 701-net-0322-staging-fsl_ppfe-eth-prefix-header-search-paths-with.patch
1 From 9b280449f99b5273b52d88574c7358a874f825a3 Mon Sep 17 00:00:00 2001
2 From: Ting Liu <ting.liu@nxp.com>
3 Date: Mon, 17 Jun 2019 09:27:53 +0200
4 Subject: [PATCH] staging: fsl_ppfe/eth: prefix header search paths with
5 $(srctree)/
6
7 Currently, the rules for configuring search paths in Kbuild have
8 changed: https://lkml.org/lkml/2019/5/13/37
9
10 This will lead the below error:
11
12 fatal error: pfe/pfe.h: No such file or directory
13
14 Fix it by adding $(srctree)/ prefix to the search paths.
15
16 Signed-off-by: Ting Liu <ting.liu@nxp.com>
17 ---
18 drivers/staging/fsl_ppfe/Makefile | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/staging/fsl_ppfe/Makefile
22 +++ b/drivers/staging/fsl_ppfe/Makefile
23 @@ -2,7 +2,7 @@
24 # Makefile for Freesecale PPFE driver
25 #
26
27 -ccflags-y += -I$(src)/include -I$(src)
28 +ccflags-y += -I $(srctree)/$(src)/include -I $(srctree)/$(src)
29
30 obj-m += pfe.o
31