Skip to content
This repository
Browse code

[rbp/tools] fixed added new firmware include path

  • Loading branch information...
commit 306189c490851de1035b756d899e8e753862d2f0 1 parent c0320c2
huceke authored December 28, 2012

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  tools/rbp/depends/depends.mk
4  tools/rbp/depends/depends.mk
@@ -4,7 +4,7 @@ ifeq ($(USE_BUILDROOT),1)
4 4
 	export BUILD=i686-linux
5 5
 	export PREFIX=$(XBMCPREFIX)
6 6
 	export SYSROOT=$(BUILDROOT)/output/host/usr/arm-unknown-linux-gnueabi/sysroot
7  
-	export CFLAGS+=-isystem$(SYSROOT)/usr/include -isystem$(SYSROOT)/opt/vc/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(PREFIX)/include -isystem$(PREFIX)/usr/include/mysql --sysroot=$(SYSROOT)
  7
+	export CFLAGS+=-isystem$(SYSROOT)/usr/include -isystem$(SYSROOT)/opt/vc/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem$(PREFIX)/include -isystem$(PREFIX)/usr/include/mysql --sysroot=$(SYSROOT) -isystem$(SDKSTAGE)/opt/vc/include/interface/vmcs_host/linux/
8 8
 	export CXXFLAGS=$(CFLAGS) --sysroot=$(SYSROOT)
9 9
 	export CPPFLAGS=$(CFLAGS) --sysroot=$(SYSROOT)
10 10
 	export LDFLAGS=-L$(SYSROOT)/opt/vc/lib -L$(XBMCPREFIX)/lib
@@ -29,7 +29,7 @@ else
29 29
 	export TARGETFS
30 30
 	export SYSROOT=/usr/local/bcm-gcc/arm-bcm2708-linux-gnueabi/sys-root
31 31
 	export RLINK_PATH=-Wl,-rpath-link,${SYSROOT}/lib -Wl,-rpath-link,${TARGETFS}/lib -Wl,-rpath-link,${TARGETFS}/usr/lib -Wl,-rpath-link,${TARGETFS}/opt/vc/
32  
-	export CFLAGS+=-isystem${XBMCPREFIX}/include -isystem${SDKSTAGE}/usr/include -isystem${SDKSTAGE}/opt/vc/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem${SDKSTAGE}/opt/vc 
  32
+	export CFLAGS+=-isystem${XBMCPREFIX}/include -isystem${SDKSTAGE}/usr/include -isystem${SDKSTAGE}/opt/vc/include -isystem$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -isystem${SDKSTAGE}/opt/vc -isystem$(SDKSTAGE)/opt/vc/include/interface/vmcs_host/linux/
33 33
 	export CFLAGS+=-L${XBMCPREFIX}/lib -L${SYSROOT}/lib -L${TARGETFS}/lib -L${TARGETFS}/usr/lib -L${TARGETFS}/opt/vc/lib ${RLINK_PATH}
34 34
 	export CXXFLAGS=${CFLAGS}
35 35
 	export CPPFLAGS=${CFLAGS}

0 notes on commit 306189c

Please sign in to comment.
Something went wrong with that request. Please try again.