OpenWRT Build System for CentOS 7: Difference between revisions

 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
==Other Tutorials==
==Other Tutorials==


*General Guide for building firmware: https://openwrt.org/docs/guide-user/additional-software/beginners-build-guide
*General{{Citation needed}} Guide for building firmware: https://openwrt.org/docs/guide-user/additional-software/beginners-build-guide
**Start of detailed Information: https://openwrt.org/docs/guide-developer/build-system/start
**Start of detailed Information: https://openwrt.org/docs/guide-developer/build-system/start
**Pre-requisites for a : https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
**Pre-requisites for a<span> </span>: https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
**Some additional granular detail for working with specific versions: https://openwrt.org/docs/guide-developer/build-system/use-buildsystem
**Some additional granular detail for working with specific versions: https://openwrt.org/docs/guide-developer/build-system/use-buildsystem
*Build environment tips: https://openwrt.org/docs/guide-developer/env
*Build environment tips: https://openwrt.org/docs/guide-developer/env
Line 135: Line 135:
The following interesting observations were made after the above noted event
The following interesting observations were made after the above noted event


*git tag : Lists all "major" and "minor" version branches of OpenWRT available.
*git tag<span> </span>: Lists all "major" and "minor" version branches of OpenWRT available.
**v17.01.0
**v17.01.0
**v17.01.0-rc1
**v17.01.0-rc1
Line 165: Line 165:
**v19.07.4
**v19.07.4


*git branch -r : Shows available "major versions" of OpenWRT available.
*git branch -r<span> </span>: Shows available "major versions" of OpenWRT available.
**  origin/HEAD -> origin/master
**  origin/HEAD -> origin/master
**  origin/lede-17.01
**  origin/lede-17.01
Line 237: Line 237:




== Notes on 09.13.2020 ==
==Notes on 09.13.2020==
'''SOLUTION for the below:''' (from: https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem ):
 
* ...CD to the SCRIPTS Directory from the "GIT Cloned" version of OpenWRT
** ./feeds update -a
** ./feeds install -a
 
...all fixed.  Naturally installing 'feeds' solves the issue of missing dependencies, etc.
 
Here's a stupid error that makes complete sense, yet shouldn't even exist in this situation: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist
Here's a stupid error that makes complete sense, yet shouldn't even exist in this situation: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist


Line 280: Line 288:
And if one is looking for the OpenSSL package, it is of course intuitively named openssl-util.  And following that very clear path, the Makefile file for openssl is located in /feeds/base/package/libs/openssl
And if one is looking for the OpenSSL package, it is of course intuitively named openssl-util.  And following that very clear path, the Makefile file for openssl is located in /feeds/base/package/libs/openssl


== 09.13.2013 - Less Vitriolic Notes ==
==09.13.2013 - Less Vitriolic Notes==
git clone -b openwrt-19.07 <nowiki>https://github.com/openwrt/openwrt.git</nowiki> /root/openwrtSDK.Manual: Copies the 19.07 (IE, the lateversion of files from the OpenWRT sources at GitHub
git clone -b openwrt-19.07 <nowiki>https://github.com/openwrt/openwrt.git</nowiki> /root/openwrtSDK.Manual: Copies the 19.07 (IE, the lateversion of files from the OpenWRT sources at GitHub


Line 297: Line 305:


staging_dir/host: Seems to contain x86_64 files that are "translated" to other platforms
staging_dir/host: Seems to contain x86_64 files that are "translated" to other platforms
Another observation that seems a bit obvious, but isn't really explicitly stated anywhere is that the "make menuconfig" "script" settings apply only in certain circumstances.  For instance, when using the above make... ...toolchain/config command, there were no packages compiled and put into a bin directory.  As a test, selected the openssl package (which includes libssl) to be created as a modular package.  And it wasn't created, nor should it have been.