blob: 5434f5a8d0d533d82e012b09863df7a05de05bd4 [file] [log] [blame]
To build:
git clone the buildroot tree.
reset to this hash:
Apply the patches in this directory, and copy over the config file here to the
make -j12
ckuiper's notes:
mkdir <some_dir_somewhere>
cd <some_dir_somewhere>
git clone git://
cd buildroot
git checkout 2016.02
patch -p1 -i <path-to-this-folder>/0001-Build-libraries-statically-to-make-hermetic-builds-w.patch
[... do for all patches in the folder...]
cp <path-to-this-folder>/bruno/Build.Info/defconfig .config
(this will bring up menuconfig, just exit and save)
make -j12
dpadgett's notes:
Let buildroot access the toolchain thru /bin instead of /usr/bin:
mkdir bin
cd bin
cp ../Build.Info/proxy .
for file in $(ls -l ../usr/bin | grep -- "-> toolchain-wrapper" | awk '{print $9}'); do echo $file; ln -s proxy $file; done
for file in $(ls -l ../usr/bin | grep -v toolchain-wrapper | grep -v "\\.br_real" | awk '{print $9}'); do ln -s ../usr/bin/$file $file; done
Copy / link .so files to legacy locations:
ln -s ../usr/lib/ ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/
cp ../usr/mipsel-buildroot-linux-uclibc/lib/ ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/.
ln -s ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/
ln -s ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/
ln -s ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/
ln -s ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/
ln -s ../usr/mipsel-buildroot-linux-uclibc/sysroot/lib/