You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
856ea2bad3
Currently in OpenWrt, there are two libc++: libstdcpp and uClibc++. The former is huge and the latter supports only C++98 with some basic support for C++11. Those C++ versions seem to be specific to the compiler version libcxx supports C++11 and above while being much smaller than libstdcpp. On mt7621, these are the sizes of the ipks that I get: libstdcpp: 460786 libcxx: 182881 uClibc++:67720 libcxx is faster than uClibc++ and is under active development as part of the LLVM project while uClibc++ is effectively dead. This PR modifies uclibc++.mk to expose the make menuconfig option. Further cleanup is beyond the scope of this PR. What that means is, this is not used by default. A g++-libcxx wrapper based on the uClibc++ one was added. Works the same way. Compile tested with all packages that use uclibc++.mk in their Makefiles under mipsel_24kc. kismet fails compilation but that package needs to be cleaned up and updated. Runtime tested with gddrescue, gdisk, dcwapd, bonnie++, and aircrack-ng on a TP-Link Archer C7v2. Signed-off-by: Rosen Penev <rosenp@gmail.com> |
4 years ago | |
---|---|---|
.. | ||
site | 5 years ago | |
autotools.mk | 5 years ago | |
cmake.mk | 6 years ago | |
debug.mk | 9 years ago | |
depends.mk | 7 years ago | |
device_table.txt | 11 years ago | |
download.mk | 5 years ago | |
feeds.mk | 5 years ago | |
hardened-ld-pie.specs | 6 years ago | |
hardening.mk | 6 years ago | |
host-build.mk | 5 years ago | |
image-commands.mk | 5 years ago | |
image-legacy.mk | 7 years ago | |
image.mk | 4 years ago | |
kernel-build.mk | 5 years ago | |
kernel-defaults.mk | 5 years ago | |
kernel-version.mk | 5 years ago | |
kernel.mk | 5 years ago | |
netfilter.mk | 5 years ago | |
nls.mk | 6 years ago | |
package-bin.mk | 7 years ago | |
package-defaults.mk | 6 years ago | |
package-dumpinfo.mk | 5 years ago | |
package-ipkg.mk | 5 years ago | |
package-seccomp.mk | 9 years ago | |
package.mk | 5 years ago | |
prereq-build.mk | 5 years ago | |
prereq.mk | 5 years ago | |
quilt.mk | 5 years ago | |
rootfs.mk | 5 years ago | |
scan.awk | 9 years ago | |
scan.mk | 5 years ago | |
shell.sh | 7 years ago | |
subdir.mk | 6 years ago | |
target.mk | 5 years ago | |
toolchain-build.mk | 5 years ago | |
toplevel.mk | 5 years ago | |
u-boot.mk | 5 years ago | |
uclibc++.mk | 4 years ago | |
unpack.mk | 5 years ago | |
verbose.mk | 6 years ago | |
version.mk | 5 years ago |