aboutsummaryrefslogtreecommitdiff
path: root/tools/rbp
diff options
context:
space:
mode:
authorStephan Raue <stephan@openelec.tv>2013-09-03 05:31:39 +0200
committerStephan Raue <stephan@openelec.tv>2013-09-03 05:31:39 +0200
commit3a03d3cfc95f8d8b77a583d8556000fafce358c0 (patch)
treef205d1642e17d226da93ea117da61c8ec14d0841 /tools/rbp
parent70199b49c92d0ca58b09f948794e637ed1bc963c (diff)
configure/depends: rename 'USE_TEXTUREPACKER_NATIVE_ROOT' to 'NATIVE_ROOT' for general usage to use with other hostbuilt tools. Add $NATIVE_ROOT/lib to LDFLAGS_FOR_BUILD and $NATIVE_ROOT/include to CFLAGS_FOR_BUILD and CXXFLAGS_FOR_BUILD
Diffstat (limited to 'tools/rbp')
-rw-r--r--tools/rbp/depends/depends.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rbp/depends/depends.mk b/tools/rbp/depends/depends.mk
index bafa99c086..d805001fde 100644
--- a/tools/rbp/depends/depends.mk
+++ b/tools/rbp/depends/depends.mk
@@ -19,7 +19,7 @@ ifeq ($(USE_BUILDROOT),1)
export PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig
export PYTHON_VERSION=2.7
export PATH:=$(PREFIX)/bin:$(BUILDROOT)/output/host/usr/bin:$(PATH)
- export USE_TEXTUREPACKER_NATIVE_ROOT=/usr
+ export NATIVE_ROOT=/usr
export PYTHON_LDFLAGS=-L$(SDKSTAGE)/usr/lib -lpython$(PYTHON_VERSION) -lpthread -ldl -lutil -lm
else
export CFLAGS=-pipe -O3 -mcpu=arm1176jzf-s -mtune=arm1176jzf-s -mfloat-abi=softfp -mfpu=vfp -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -Wno-deprecated-declarations
@@ -47,7 +47,7 @@ else
export PKG_CONFIG_PATH=$(PREFIX)/bin/pkg-config
export PYTHON_VERSION=2.6
export PATH:=${PREFIX}/bin:$(PATH):${TOOLCHAIN}/bin
- export USE_TEXTUREPACKER_NATIVE_ROOT=/usr
+ export NATIVE_ROOT=/usr
export PYTHON_LDFLAGS=-L$(SDKSTAGE)/usr/lib -lpython$(PYTHON_VERSION)
endif
export PYTHON_CPPFLAGS=-I$(SDKSTAGE)/usr/include/python$(PYTHON_VERSION)