OpenWRT Cross Compiling: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 Created page with "<nowiki>;</nowiki>lkj"  | 
				mNo edit summary  | 
				||
| Line 1: | Line 1: | ||
<nowiki>;</nowiki>  | * CentOS 8  | ||
* Perlbrew for matching the exact version of PERL on the router and controlling it easily: https://perlbrew.pl/  | |||
** Nice tutorial for Perlbrew basics: https://www.digitalocean.com/community/tutorials/how-to-install-perlbrew-and-manage-multiple-versions-of-perl-5-on-centos-7  | |||
* Download pre-requisites for a Cross Compile Build system: https://openwrt.org/docs/guide-developer/build-system/install-buildsystem  | |||
** EPEL repository needed for some: yum install <nowiki>https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm</nowiki>  | |||
** yum install binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel zlib-static make patch unzip perl-ExtUtils-MakeMaker glibc glibc-devel glibc-static ncurses-libs sed sdcc intltool sharutils bison wget git-core openssl-devel xz  | |||
*** And of course some of the above (zlib-static, glibc-static, sdcc, shareutils) doesn't work and is also a bit ambivalent, so;  | |||
**** yum install zlib glibc-common glibc-devel glibc-headers glibc-langpack-en (sdcc (compiler for 8501 microcontroller) and shareutils (for specific encoding for paid RedHat subscribers) are not readily available for CentOS 8)  | |||
* Download OpenWRT Files (from https://openwrt.org/docs/guide-developer/build-system/install-buildsystem)  | |||
** git clone <nowiki>https://git.openwrt.org/openwrt/openwrt.git</nowiki>  | |||
Revision as of 02:45, 30 August 2020
- CentOS 8
 - Perlbrew for matching the exact version of PERL on the router and controlling it easily: https://perlbrew.pl/
- Nice tutorial for Perlbrew basics: https://www.digitalocean.com/community/tutorials/how-to-install-perlbrew-and-manage-multiple-versions-of-perl-5-on-centos-7
 
 - Download pre-requisites for a Cross Compile Build system: https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
- EPEL repository needed for some: yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
 - yum install binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel zlib-static make patch unzip perl-ExtUtils-MakeMaker glibc glibc-devel glibc-static ncurses-libs sed sdcc intltool sharutils bison wget git-core openssl-devel xz
- And of course some of the above (zlib-static, glibc-static, sdcc, shareutils) doesn't work and is also a bit ambivalent, so;
- yum install zlib glibc-common glibc-devel glibc-headers glibc-langpack-en (sdcc (compiler for 8501 microcontroller) and shareutils (for specific encoding for paid RedHat subscribers) are not readily available for CentOS 8)
 
 
 - And of course some of the above (zlib-static, glibc-static, sdcc, shareutils) doesn't work and is also a bit ambivalent, so;
 
 - Download OpenWRT Files (from https://openwrt.org/docs/guide-developer/build-system/install-buildsystem)
- git clone https://git.openwrt.org/openwrt/openwrt.git