diff options
Diffstat (limited to 'build_toolchain.sh')
-rwxr-xr-x | build_toolchain.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build_toolchain.sh b/build_toolchain.sh new file mode 100755 index 0000000..7562c57 --- /dev/null +++ b/build_toolchain.sh @@ -0,0 +1,19 @@ +#! /bin/bash + +set -xe + +BR_DIR=buildroot-${BUILDROOT_VERSION:-"2016.05"} +BR_TAR=${BR_DIR}.tar.bz2 +BR_URL=https://buildroot.org/downloads/${BR_TAR} + +echo ${BR_DIR} && wget ${BR_URL} && ls -l && tar xf ${BR_TAR} && rm -f ${BR_TAR} + +pushd ${BR_DIR} +make trimui_defconfig BR2_EXTERNAL=../trimui_config +make toolchain + +for patch in ../*.patch; do patch -p0 < $patch; done +make + +popd +rm -r ${BR_DIR} |