mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From ab4dc1d5b9a8af2bd5ab134c1c427e0deb54802a Mon Sep 17 00:00:00 2001
 | |
| From: Kieran Bingham <kieran.bingham@ideasonboard.com>
 | |
| Date: Mon, 18 Mar 2019 17:14:51 +0000
 | |
| Subject: [PATCH 374/432] vcsm: Fix makefile include on out-of-tree builds
 | |
| 
 | |
| The vc_sm module tries to include the 'fs' directory from the
 | |
| $(srctree). $(srctree) is already provided by the build system, and
 | |
| causes the include path to be duplicated.
 | |
| 
 | |
| With -Werror this fails to compile.
 | |
| 
 | |
| Remove the unnecessary variable.
 | |
| 
 | |
| Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
 | |
| ---
 | |
|  drivers/char/broadcom/vc_sm/Makefile | 2 +-
 | |
|  1 file changed, 1 insertion(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/drivers/char/broadcom/vc_sm/Makefile b/drivers/char/broadcom/vc_sm/Makefile
 | |
| index 19ce263bc273..20b7646fe4b6 100644
 | |
| --- a/drivers/char/broadcom/vc_sm/Makefile
 | |
| +++ b/drivers/char/broadcom/vc_sm/Makefile
 | |
| @@ -1,5 +1,5 @@
 | |
|  ccflags-$(CONFIG_BCM_VC_SM) += -Werror -Wall -Wstrict-prototypes -Wno-trigraphs -O2
 | |
| -ccflags-$(CONFIG_BCM_VC_SM) += -I"drivers/staging/vc04_services" -I"drivers/staging/vc04_services/interface/vchi" -I"drivers/staging/vc04_services/interface/vchiq_arm" -I"$(srctree)/fs/"
 | |
| +ccflags-$(CONFIG_BCM_VC_SM) += -I"drivers/staging/vc04_services" -I"drivers/staging/vc04_services/interface/vchi" -I"drivers/staging/vc04_services/interface/vchiq_arm" -I"fs"
 | |
|  ccflags-$(CONFIG_BCM_VC_SM) += -DOS_ASSERT_FAILURE -D__STDC_VERSION=199901L -D__STDC_VERSION__=199901L -D__VCCOREVER__=0 -D__KERNEL__ -D__linux__
 | |
|  
 | |
|  obj-$(CONFIG_BCM_VC_SM) := vc-sm.o
 | |
| -- 
 | |
| 2.19.1
 | |
| 
 |