Building OpenWRT

The AllJoyn™ framework feeds exist on the following OpenWRT platform releases:

Build and Install the AllJoyn framework

Follow these instructions to add the AllJoyn framework to your OpenWRT environment.

Patch OpenSSL

Edit Feed

Add only one of these lines to your feeds.conf:

sh src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;openwrt_12.09

sh src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;attitude_adjustment

sh src-git alljoyn https://git.allseenalliance.org/gerrit/core/openwrt_feed;barrier_breaker

Update Feeds

./scripts/feeds update -a

Install the AllJoyn package definitions

./scripts/feeds install -a -p alljoyn

Enable the AllJoyn packages to build

make menuconfig
        Networking --->
                < > alljoyn --->
                        < > alljoyn-about
                        < > alljoyn-c
                        < > alljoyn-config --->
                                < > alljoyn-config-samples
                        < > alljoyn-controlpanel --->
                                < > alljoyn-controlpanel-samples
                        < > alljoyn-notification --->
                                < > alljoyn-notification-samples
                        < > alljoyn-sample_apps
                        < > alljoyn-services_common

Install the AllJoyn framework

If you built the AllJoyn framework as a module, move those IPKs over to your OpenWRT device and run opkg install <alljoyn-package>.

If you built the AllJoyn framework directly into the image, simply flash the new firmware onto your OpenWRT device.

AllJoyn libs will be installed in /usr/lib/ and binaries will be installed in /usr/bin/.

Run the AllJoyn framework

Start the AllJoyn framework

Start the AllJoyn daemon

/etc/init.d/alljoyn start

Optionally, enable the AllJoyn daemon to start at boot-up.

/etc/init.d/alljoyn enable

Run Sample Apps

Follow the Linux instructions to run sample apps. Note that since AllJoyn binaries and libs are installed in /usr/bin/ and /usr/lib/, that the AllJoyn apps can run directly from any path without setting LD_LIBRARY_PATH.