![]() | 1 | initial version |
I was building 15.09 source with OS=openwrt CPU=openwrt on scons command line for cross compiling purposes, and I found that none of the java resources were built afterwards, I had to edit alljoyn_java/samples/SConscript and alljoyn_java/src/SConscript and include:
env['OS'] == 'openwrt'
Also, when cross compiling and wanting to build java bindings, should we include the target platform's jvm in TARGET_LINKFLAGS and TARGET_CPPFLAGS, I did, but not sure it was necessary, it successfully built, I need to run it still, but was curious what others are doing.
scons BINDINGS=cpp,java WS=off ICE=off SERVICES="about,notification,controlpanel,config,onboarding,sample_apps" OS=openwrt CPU=openwrt TARGET_CC=arm-linux-gnueabihf-gcc TARGET_CFLAGS="-fPIC -march=armv7 -I/home/user/alljoyn/jdk1.8.0_65/include" TARGET_CPPFLAGS="-fPIC -march=armv7 -I/home/user/alljoyn/jdk1.8.0_65/include -I/home/user/alljoyn/openssl/include" TARGET_CXX=arm-linux-gnueabihf-g++ TARGET_LINK=arm-linux-gnueabihf-gcc TARGET_LINKFLAGS="-L/home/user/alljoyn/jdk1.8.0_65/lib -L/home/user/alljoyn/jdk1.8.0_65/lib/arm -L/home/user/alljoyn/openssl/deps" TARGET_AR=arm-linux-gnueabihf-ar TARGET_RANLIB=arm-linux-gnueabihf-ranlib STAGING_DIR=/home/user/alljoyn/staging TARGET_PATH=$PATH
© 2014 AllSeen Alliance, Inc. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. AllSeen and AllSeen Alliance are trademarks of the AllSeen Alliance, Inc.
Linux is a registered trademark of Linus Torvalds.
Please see our brand guidelines, trademark guidelines, terms of use and privacy policy.