asterisk-chan-dongle: adapt BUILD_NLS handling 775/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 16 Jul 2022 18:24:48 +0000 (20:24 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 16 Jul 2022 18:34:25 +0000 (20:34 +0200)
commit4e30b64604d7c15b52ee4472f6d67f55f5535af6
tree2c09112765367891412b308196891cc9dd8f8152
parentf50096a8a0db4bec4abf6dca1b1d347e3de84e9d
asterisk-chan-dongle: adapt BUILD_NLS handling

openwrt recently stopped using libiconv-stub in the BUILD_NLS=n case.
Instead the libc's iconv has to be used.

This commit changes the iconv include path passed to
asterisk-chan-dongle for the BUILD_NLS=n case to
$(TOOLCHAIN_DIR)/include. That's where musl and glibc store iconv.h.

Also, the patch 200-fix-iconv-detection.patch gets replaced with a sed
script that only runs in the BUILD_NLS=y case.

And finally, $(AUTORELEASE) is added.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-chan-dongle/Makefile
net/asterisk-chan-dongle/patches/200-fix-iconv-detection.patch [deleted file]