Last active
August 29, 2015 14:04
-
-
Save t-yuki/e99225084b9671243d6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/git18-1.8.5.5-4.ius.centos6.x86_64.rpm | |
wget http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/perl-Git18-1.8.5.5-4.ius.centos6.noarch.rpm | |
yum remove git perl-Git | |
yum localinstall git18-1.8.5.5-4.ius.centos6.x86_64.rpm perl-Git18-1.8.5.5-4.ius.centos6.noarch.rpm | |
wget http://people.centos.org/tru/devtools-1.1/devtools-1.1.repo -O /etc/yum.repos.d/devtools-1.1.repo | |
yum install devtoolset-1.1 | |
yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel | |
mkdir -p aosp | |
cd aosp | |
repo init -u https://android.googlesource.com/platform/manifest | |
repo start mydev1 --all | |
cp -f .repo/manifests/default.xml .repo/manifests/mydev1.xml | |
ln -sf manifests/mydev1.xml .repo/manifest.xml | |
vi .repo/manifests/mydev1.xml | |
# https://github.com/mozilla-b2g/b2g-manifest/blob/master/base-kk.xml | |
repo sync | |
scl enable devtoolset-1.1 bash | |
source build/envsetup.sh | |
lunch aosp_x86_64-eng | |
export TARGET_BUILD_JAVA_SUPPORT_LEVEL= | |
make -j4 | |
TINY_ANDROID | |
-- | |
# https://wiki.linaro.org/Platform/Android/UseTinyAndroid | |
export BUILD_TINY_ANDROID=true | |
source build/envsetup.sh | |
lunch aosp_x86_64-eng | |
make -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://www.ibm.com/developerworks/jp/linux/library/l-yocto-linux/ | |
# https://www.yoctoproject.org/ | |
yum install centos-release-SCL | |
yum install python27 | |
yum install texinfo texi2html chrpath SDL-devel | |
yum install libacl-devel rsh libselinux-devel | |
wget 'http://ftp.sunet.se/pub/Linux/distributions/scientific/7rolling/SRPMS/vendor/tar-1.26-29.el7.src.rpm' | |
rpmbuild --rebuild tar-1.26-29.el7.src.rpm | |
sudo rpm -Uhv ~/rpmbuild/RPMS/x86_64/tar-1.26-29.el6.x86_64.rpm | |
scl enable python27 bash | |
. ./oe-init-build-env | |
sudo ln -s /opt/rh/python27/root/usr/lib64/libpython2.7.so.1.0 /usr/lib64/ | |
BB_NUMBER_THREADS="8" | |
PARALLEL_MAKE="-j 8" | |
bitbake core-image-minimal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment