Openwrt/include
Rosen Penev 856ea2bad3 libcxx: Add package
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>
2019-12-23 00:22:07 +01:00
..
site Revert faulty tree push 2019-08-12 12:27:06 +02:00
autotools.mk autotools.mk: autoreconf: fix missing install-sh 2019-07-26 08:09:16 +02:00
cmake.mk
debug.mk
depends.mk
device_table.txt
download.mk build: add PKG_SOURCE_URL_FILE support 2019-11-23 13:35:43 +01:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk build: call Host/Uninstall before wiping the host build dir 2019-10-21 14:18:17 +02:00
image-commands.mk Revert "build: separate signing logic" 2019-10-21 16:26:24 +02:00
image-legacy.mk
image.mk build: image: add SOC device variable 2019-12-20 01:07:25 +01:00
kernel-build.mk kernel-build: ignore runtime config options during reconfig 2019-11-24 14:19:43 +01:00
kernel-defaults.mk kernel-defaults: ensure SOURCE_DATE_EPOCH on /init 2019-10-02 17:11:44 +02:00
kernel-version.mk kernel: bump 4.19 to 4.19.88 2019-12-10 09:50:42 +01:00
kernel.mk kernel.mk: add KCFLAGS to make kmods reproducible 2019-10-09 09:13:44 +02:00
netfilter.mk netfilter: fix NAT packaging with kernels 5.2+ 2019-10-28 08:40:02 +01:00
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk Revert faulty tree push 2019-08-12 12:27:06 +02:00
prereq-build.mk build: prereq: add support for Python 3.8 2019-11-14 22:53:31 +01:00
prereq.mk build: cleanup possibly dangling Python 2 host symlink 2019-07-26 08:09:16 +02:00
quilt.mk
rootfs.mk rootfs.mk: ensure all timestamp are set to SOURCE_DATE_EPOCH 2019-09-21 03:26:38 +02:00
scan.awk
scan.mk build: have scripts/feeds honor all toplevel .mk-files of a feed 2019-10-27 14:32:13 +01:00
shell.sh
subdir.mk
target.mk
toolchain-build.mk
toplevel.mk build: fix host menu config targets using ncurses 2019-09-25 12:50:24 +02:00
u-boot.mk u-boot.mk: use openwrt url instead of lede project 2019-08-18 15:14:13 +00:00
uclibc++.mk libcxx: Add package 2019-12-23 00:22:07 +01:00
unpack.mk
verbose.mk
version.mk