Difference between revisions of "OpenWRT Cross Compiling"

m
no edit summary
m
m
 
Line 1: Line 1:
*CentOS 8, OpenWRT 17.07.3, Perl 5.28.1
*CentOS 7.8, OpenWRT 19.07.3, Perl 5.28.1
**...a working CentOS system.
**yum install binutils bzip2 gcc gcc-c++ gawk gettext flex ncurses-devel zlib-devel zlib-static make patch unzip openssl-devel perl-ExtUtils-MakeMaker glibc glibc-devel glibc-static ncurses-libs sed sdcc intltool sharutils bison wget git-core xz
**OpenWRT, browse GIT Repository: [https://git.openwrt.org/openwrt/ https://git.openwrt.org/]
**git clone -b openwrt-19.07 <nowiki>https://github.com/openwrt/openwrt.git</nowiki> (this should download just the 19.07.01, .03, .04, etc branch)
*Directory: The default for most of the items below is the users "home" directory ( ~ )
*Directory: The default for most of the items below is the users "home" directory ( ~ )
*Perlbrew for matching the exact version of Perl on the router and controlling it easily: https://perlbrew.pl/
*Perlbrew for matching the exact version of Perl on the router and controlling it easily: https://perlbrew.pl/