OpenWRT Build System for CentOS 7: Difference between revisions
| Line 225: | Line 225: | ||
**It was noticed at minimum, the last line: $(eval $(call BuildPackage,WhatEverName)) had to be changed too. | **It was noticed at minimum, the last line: $(eval $(call BuildPackage,WhatEverName)) had to be changed too. | ||
== Notes from 9.11.2020 == | ==Notes from 9.11.2020== | ||
<br /> | <br /> | ||
* Name of Package in Makefile | *Name of Package in Makefile | ||
** define Package/openssl-custom | **define Package/openssl-custom | ||
** define Package/openssl-custom/description | **define Package/openssl-custom/description | ||
** define Package/openssl-custom/install | **define Package/openssl-custom/install | ||
** $(eval $(call BuildPackage,openssl-custom)) | **$(eval $(call BuildPackage,openssl-custom)) | ||
* Name of Directory in "feedscustom" must match items in Makefile | *Name of Directory in "feedscustom" must match items in Makefile | ||
** source "$(SOURCE)/Config.in" | **source "$(SOURCE)/Config.in" | ||
== Notes on 09.13.2020 == | |||
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 | |||
What's the situation? This is a build for a WRT3200ACM, with no Broadcom chips. So what the fuck package is in the official SDK for this same router that has a dependency like this? | |||
Oh, and better yet, what about the below? | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'r8169-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'e100-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'bnx2-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'ar3k-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'mwifiex-sdio-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb2', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'edgeport-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'kmod-phy-bcm-ns-usb3', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'amdgpu-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'radeon-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'prism54-firmware', which does not exist | |||
WARNING: Makefile 'package/linux/Makefile' has a dependency on 'rtl8192su-firmware', which does not exist | |||
Of course none of this shit exists, it's a GOD DAMNED SDK for the WRT3200ACM! | |||
There is no solution to all the above errors. Just tolerate it amongst all the other fucked up shit. | |||
Also, do NOT delete any of the newly created Directories in the ......feeds Directory as they are actually symbolic links to WhatEver custom Feeds Directory structure was created. | |||
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 == | |||
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 checkout v19.07.3 | |||
make distclean: https://stackoverflow.com/questions/51837675/what-are-the-differences-between-make-clean-make-clobber-make-distclean-make | |||
./scripts/feeds update -a: Downloads all the v19.07.3 Makefiles and associated "stuff" | |||
./scripts/feeds install -a: Creates indexes used by "make menuconfig", which in turn creates the visual selections within menuconfig script. | |||
make menuconfig: run the menuconfig script (the Build the OpenWrt SDK will create an SDK PACKAGE) | |||
make toolchain/install V=sc: use the toolchain/Config.in file and install it (see the Config.in file in the root openwrt... directory, then the /toolchain/Config.in file), the -V=sc enables verbose output with details of what it is compiling instead of a boring command prompt. | |||
staging_dir/host: Seems to contain x86_64 files that are "translated" to other platforms | |||