Install the following packages in an ubuntu - 14.04.6 LTS machine
sudo apt-get update
sudo ln -s /usr/bin/env /bin/env
sudo apt-get -y install build-essential
sudo apt-get -y install g++ curl cvs bison gettext flex texinfo libtool patch automake gawk lzma module-init-tools libssl-dev m4 git
sudo apt-get -y install pkg-config unzip
sudo apt-get remove libnss-mdns
sudo apt-get install -y libncurses5-dev
sudo apt-get install -y python-setuptools
-
Change the directory to buildroot
$cd buildroot
-
Give the build command in the buildroot directory
$sudo make PROFILE=zd1200
-
While kernel is getting compiled, it asks for some configurations, press Enter for all
-
It will be built successfully and ends with providing a version number