diff options
author | neonloop | 2021-03-07 14:47:57 +0000 |
---|---|---|
committer | neonloop | 2021-03-07 14:47:57 +0000 |
commit | 9ab73f47aedebd94eb4d353262a582d9fd3a8cec (patch) | |
tree | e73509334e64bd337d9524cf03f1d910c90ca521 /env-setup.sh | |
parent | 4ad5efd6071cefe6cc813d5d6b38869b54a44eaf (diff) | |
download | trimui-toolchain-9ab73f47aedebd94eb4d353262a582d9fd3a8cec.tar.gz trimui-toolchain-9ab73f47aedebd94eb4d353262a582d9fd3a8cec.tar.bz2 trimui-toolchain-9ab73f47aedebd94eb4d353262a582d9fd3a8cec.zip |
Clear buildroot source after building
This saves an enormous amount of disk space in the image. Since fewer
packages are installed, there is a method for installing extra
packages.
This also adds a helper script for setting up common cross-compiling
variables.
Diffstat (limited to 'env-setup.sh')
-rwxr-xr-x | env-setup.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/env-setup.sh b/env-setup.sh new file mode 100755 index 0000000..e3d0dc3 --- /dev/null +++ b/env-setup.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +export CHAINPREFIX=/opt/trimui-toolchain +export PATH=$PATH:$CHAINPREFIX/bin +export CROSS_COMPILE=$CHAINPREFIX/bin/arm-buildroot-linux-gnueabi- |