From 69b54742b6144784dd6cea884ecb04700ccfeeaf Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Mon, 17 Jun 2019 09:27:53 +0200 Subject: [PATCH] staging: fsl_ppfe/eth: prefix header search paths with $(srctree)/ Currently, the rules for configuring search paths in Kbuild have changed: https://lkml.org/lkml/2019/5/13/37 This will lead the below error: fatal error: pfe/pfe.h: No such file or directory Fix it by adding $(srctree)/ prefix to the search paths. Signed-off-by: Ting Liu --- drivers/staging/fsl_ppfe/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl_ppfe/Makefile b/drivers/staging/fsl_ppfe/Makefile index b036dc2094df..ebc3aa21d052 100644 --- a/drivers/staging/fsl_ppfe/Makefile +++ b/drivers/staging/fsl_ppfe/Makefile @@ -2,7 +2,7 @@ # Makefile for Freesecale PPFE driver # -ccflags-y += -I$(src)/include -I$(src) +ccflags-y += -I $(srctree)/$(src)/include -I $(srctree)/$(src) obj-m += pfe.o