Building OS: Linux Debian Jessie 8.0
Version: r44236 -DG07-
I used mainly this openWRT wiki page:
http://wiki.openwrt.org/doc/howto/buildroot.exigence
Make sure your linux version has the following installed (default openWRT):
git-core
libssl-dev
build-essential
subversion
--
I use apt-show-versions |grep {package} to check the packages.
And below here, most stuff if from oxo @ forum page:
https://forum.openwrt.org/viewtopic.php?id=53511
Perform next commands:
Code: Select all
sudo apt-get update
do also install the following packages:
Code: Select all
sudo apt-get install libncurses5-dev
zlib1g-dev
gawk
gcc-multilib
flex
gettext
quilt
lzop
Code: Select all
git clone git://git.openwrt.org/openwrt.git
Code: Select all
cd openwrt
Download and install all available "feeds"
Code: Select all
./scripts/feeds update -a
./scripts/feeds install -a
https://forum.openwrt.org/viewtopic.php ... 70#p140470
Only use this the FIRST time your build a firmware package.
Updates can be made with the same package and take only 10 minutes to build new one,
NOT if you re-run the 'echo CONFIG_TARGET_lantiq=y > .config' command!
Code: Select all
echo CONFIG_TARGET_lantiq=y > .config
make defconfig
Code: Select all
make prereq
Code: Select all
make menuconfig
- Target System:Lantiq
- Subtarget:XRX200
- Target Profile:ZyXEL P-2812HNU-F1
- Bootloaders:both
LUCI should be set default, check and select if not.
Some other packages, like USB drive support are default DISABLED.
I will add a reply with USB vfat example.
Personally i added Privoxy and its luci-app-privoxy and is working fine when you build them together, otherwise it's not working.
-EDIT- Within the Luci webinterface, just installing luci-app-privoxy will result in good working setup of Privoxy itself too!
Just before make, make sure SED is unset:
SED should not be set. If it is, run `unset SED` before compiling. (See Ticket 10612.)
Code: Select all
unset SED
Code: Select all
make
--
When receiving an error during this run, 'make V=s' should be run to determine what causes this error.
This is also written on screen, if there is an error.
Within 'openwrt/bin/lantiq/' you will find needed firmare files to flash earlier openwrt versions.
Or debrick a ZyXEL firmware running box to run openWRT.
Reading https://forum.openwrt.org/viewtopic.php?id=53511 and you can also update your current openWRT build-environment.
Packages that seems to be installable by the WEB gui, return a kernel error, means in most cases that you have to rebuild your firmware package and INCLUDE the missing package in the build-process.
-----