summaryrefslogtreecommitdiff
path: root/packages/avetanabt
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-11-29 11:34:04 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-11-29 11:34:04 +0000
commit081432e434818a616a523f9f2bb18e707e4e68e3 (patch)
tree66e473e317db4a0f1056c474b26fdefde6e6ec6e /packages/avetanabt
parent12bb4c41c375d36b596ba4eb0a9c8ce1d6ace10e (diff)
Introduce STAGING_BINDIR_CROSS and STAGING_BINDIR_NATIVE as discussed on the mailing list. There should be no functionality changes yet.
Diffstat (limited to 'packages/avetanabt')
-rw-r--r--packages/avetanabt/avetanabt_20060413.bb8
-rw-r--r--packages/avetanabt/avetanabt_cvs.bb8
2 files changed, 8 insertions, 8 deletions
diff --git a/packages/avetanabt/avetanabt_20060413.bb b/packages/avetanabt/avetanabt_20060413.bb
index b04a9e5552..5140b07874 100644
--- a/packages/avetanabt/avetanabt_20060413.bb
+++ b/packages/avetanabt/avetanabt_20060413.bb
@@ -23,8 +23,8 @@ do_compile() {
# generate classes
# javac -> jikes
- ${STAGING_BINDIR}/find {de,javax,com} -iname *.java > file.list
- ${STAGING_BINDIR}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list
+ ${STAGING_BINDIR_NATIVE}/find {de,javax,com} -iname *.java > file.list
+ ${STAGING_BINDIR_NATIVE}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list
# create own version.xml (add version information available at runtime)
head -n 4 version.xml >> build/version.xml
@@ -33,11 +33,11 @@ do_compile() {
# move classes into jar archive
# jar -> fastjar
- ${STAGING_BINDIR}/fastjar -v -cf avetanaBT.jar -C build de -C build javax -C build com -C build version.xml
+ ${STAGING_BINDIR_NATIVE}/fastjar -v -cf avetanaBT.jar -C build de -C build javax -C build com -C build version.xml
# JNI generated header file - de_avetana_bluetooth_stack_BlueZ.h
# javah -> kaffeh
- ${STAGING_BINDIR}/kaffeh -jni -classpath avetanaBT.jar:${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d c de.avetana.bluetooth.stack.BlueZ
+ ${STAGING_BINDIR_NATIVE}/kaffeh -jni -classpath avetanaBT.jar:${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d c de.avetana.bluetooth.stack.BlueZ
# Native language (C) library - libavetanaBT.so
${CXX} ${CXXFLAGS} -shared -lbluetooth -I${STAGING_INCDIR}/classpath c/BlueZ.cpp -o libavetanaBT.so ${LDFLAGS}
diff --git a/packages/avetanabt/avetanabt_cvs.bb b/packages/avetanabt/avetanabt_cvs.bb
index b0deab2a42..66ee81d99a 100644
--- a/packages/avetanabt/avetanabt_cvs.bb
+++ b/packages/avetanabt/avetanabt_cvs.bb
@@ -26,8 +26,8 @@ do_compile() {
# generate classes
# javac -> jikes
- ${STAGING_BINDIR}/find {de,javax,com} -iname *.java > file.list
- ${STAGING_BINDIR}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list
+ ${STAGING_BINDIR_NATIVE}/find {de,javax,com} -iname *.java > file.list
+ ${STAGING_BINDIR_NATIVE}/jikes -verbose --bootclasspath ${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d build @file.list
# create own version.xml (add version information available at runtime)
head -n 4 version.xml >> build/version.xml
@@ -36,11 +36,11 @@ do_compile() {
# move classes into jar archive
# jar -> fastjar
- ${STAGING_BINDIR}/fastjar -v -cf avetanaBT.jar -C build de -C build javax -C build com -C build version.xml
+ ${STAGING_BINDIR_NATIVE}/fastjar -v -cf avetanaBT.jar -C build de -C build javax -C build com -C build version.xml
# JNI generated header file - de_avetana_bluetooth_stack_BlueZ.h
# javah -> kaffeh
- ${STAGING_BINDIR}/kaffeh -jni -classpath avetanaBT.jar:${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d c de.avetana.bluetooth.stack.BlueZ
+ ${STAGING_BINDIR_NATIVE}/kaffeh -jni -classpath avetanaBT.jar:${STAGING_DIR}/${BUILD_SYS}/share/kaffeh/rt.jar -d c de.avetana.bluetooth.stack.BlueZ
# Native language (C) library - libavetanaBT.so
${CXX} ${CXXFLAGS} -shared -lbluetooth -I${STAGING_INCDIR}/classpath c/BlueZ.cpp -o libavetanaBT.so ${LDFLAGS}