We usually use the following command sequence for SDK installing under Ubuntu 14.04 and Ubuntu 16.04:
- sudo apt-get install ubuntu-minimal ubuntu-standard patch vim-common sed wget subversion git-core coreutils libbonobo2-common unzip texi2html texinfo libsdl1.2-dev docbook-utils gawk python-pysqlite2 diffstat make gcc build-essential xz-utils g++ desktop-file-utils chrpath libgl1-mesa-dev libglu1-mesa-dev autoconf automake groff libtool xterm libncurses5-dev cvs tofrodos
- a) command: ls -l /bin/sh
Message: /bin/sh -> dash
- b) command: sudo dpkg-reconfigure dash
Answer after password – No
Message:
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
- c) command for checking: ls -l /bin/sh
Message: /bin/sh -> bash
- install SDK cache:
- install SDK source
- cd <sdk-install-dir>.
- ./sources/meta-freescale/scripts/host-prepare.sh
Usually Linux recommends also run the following command: sudo usr/sbin/visudo
- bitbake fsl-image-minimal
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------