Home > Support > Knowledge Base > Knowledge Base Article

How do I recompile Digi pre-compiled binaries with different options, with Digi Embedded Linux 5.7 toolchain. Example: wpa_supplicant

Mount the Digi Embedded Linux 5.7 Live DVD and copy the Digi toolchain patches to a local directory:
example package: wpa_supplicant

# cp -r /media/DigiEL_LiveDVD/toolchain/del_toolchain/packages/wpa_supplicant/ ~
# chmod -R u+rwX ~/wpa_supplicant/
# cd ~/wpa_supplicant/
# cp /media/DigiEL_LiveDVD/toolchain/packages/wpa_supplicant-0.6.10.tar.gz .
for ConnectCore (Wi-)i.MX (FreeScale cortex CPU) enter:
# export TOOLCHAIN_DIR=/usr/local/DigiEL-5.7/x-tools/arm-cortex_a8-linux-gnueabi
for all other platforms:
# export TOOLCHAIN_DIR=/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi
for all platforms continue with:
# make  <- will unpack source tar, apply Digi patches and do complete build
check the third party package documentation about how to enable your desired feature, e.g.:
modify target/wpa_supplicant-0.6.10/wpa_supplicant/defconfig, e.g. CONFIG_WPS=y
# make clean
# make
# make install
check target/_install for build results:
# find target/_install
in order to deploy this into /usr/local/DigiEL-5.7/ for ALL projects you derive from this run:
# make install-del

For other (non-Digi pre-compiled) third party packages. You often can compile them with:
for ConnectCore (Wi-)i.MX (FreeScale cortex CPU) enter:
# export PATH=/usr/local/DigiEL-5.7/x-tools/arm-cortex_a8-linux-gnueabi/bin:$PATH
for all other platforms:
# export PATH=/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi/bin:$PATH
for all platforms continue with:
# configure CC=arm-linux-gcc
# make CC=arm-linux-gcc
however this is very dependent on the third party package, if it is prepared for cross compilation.
Contact a Digi expert and get started today! CONTACT US