mirror of https://github.com/OpenIPC/composer.git
Update baresip project
parent
e6b16fd2fb
commit
37d8cb2e69
|
@ -35,6 +35,7 @@ BR2_OPENIPC_SOC_VENDOR="goke"
|
||||||
BR2_OPENIPC_SOC_MODEL="gk7205v200"
|
BR2_OPENIPC_SOC_MODEL="gk7205v200"
|
||||||
BR2_OPENIPC_SOC_FAMILY="gk7205v200"
|
BR2_OPENIPC_SOC_FAMILY="gk7205v200"
|
||||||
BR2_OPENIPC_FLAVOR="ultimate"
|
BR2_OPENIPC_FLAVOR="ultimate"
|
||||||
|
BR2_OPENIPC_FLASH_SIZE="16"
|
||||||
|
|
||||||
# Filesystem
|
# Filesystem
|
||||||
# BR2_TARGET_TZ_INFO is not set
|
# BR2_TARGET_TZ_INFO is not set
|
||||||
|
@ -105,23 +106,36 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_MEDIATEK_MT7601U=y
|
||||||
BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y
|
BR2_PACKAGE_WIREGUARD_LINUX_COMPAT=y
|
||||||
BR2_PACKAGE_WIREGUARD_TOOLS=y
|
BR2_PACKAGE_WIREGUARD_TOOLS=y
|
||||||
|
|
||||||
|
# IPTABLES
|
||||||
|
BR2_PACKAGE_IPTABLES is not set
|
||||||
|
|
||||||
# MQTT
|
# MQTT
|
||||||
BR2_PACKAGE_MOSQUITTO=y
|
BR2_PACKAGE_MOSQUITTO=y
|
||||||
# BR2_PACKAGE_MOSQUITTO_BROKER is not set
|
# BR2_PACKAGE_MOSQUITTO_BROKER is not set
|
||||||
|
|
||||||
|
# ZEROTIER
|
||||||
|
# BR2_PACKAGE_ZEROTIER_ONE is not set
|
||||||
|
|
||||||
|
# NABTO
|
||||||
|
# BR2_PACKAGE_NABTO is not set
|
||||||
|
|
||||||
# DEBUG
|
# DEBUG
|
||||||
# BR2_PACKAGE_HOST_GDB is not set
|
# BR2_PACKAGE_HOST_GDB is not set
|
||||||
# BR2_PACKAGE_GDB is not set
|
# BR2_PACKAGE_GDB is not set
|
||||||
|
|
||||||
# Compression
|
|
||||||
BR2_PACKAGE_ZLIB=y
|
|
||||||
|
|
||||||
# BARESIP
|
# BARESIP
|
||||||
BR2_PACKAGE_BARESIP_OPENIPC=y
|
BR2_PACKAGE_BARESIP_OPENIPC=y
|
||||||
BR2_PACKAGE_LIBRE_OPENIPC=y
|
BR2_PACKAGE_LIBRE_OPENIPC=y
|
||||||
BR2_PACKAGE_LIBREM_OPENIPC=y
|
BR2_PACKAGE_LIBREM_OPENIPC=y
|
||||||
BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y
|
BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y
|
||||||
|
|
||||||
|
# SMARTHOME
|
||||||
|
BR2_PACKAGE_COMGT=y
|
||||||
|
|
||||||
|
# CCACHE
|
||||||
|
BR2_CCACHE=y
|
||||||
|
BR2_CCACHE_DIR="$(HOME)/.ccache"
|
||||||
|
|
||||||
# External
|
# External
|
||||||
BR2_TOOLCHAIN_EXTERNAL=y
|
BR2_TOOLCHAIN_EXTERNAL=y
|
||||||
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
|
||||||
|
|
|
@ -97,7 +97,7 @@ clone() {
|
||||||
}
|
}
|
||||||
|
|
||||||
fresh() {
|
fresh() {
|
||||||
BR_VER=$1
|
BR_VER=2023.02.1
|
||||||
|
|
||||||
if [ -d "$SRC_CACHE_DIR" ]; then
|
if [ -d "$SRC_CACHE_DIR" ]; then
|
||||||
echo_c 36 "Found cache directory."
|
echo_c 36 "Found cache directory."
|
||||||
|
@ -226,7 +226,7 @@ uni_build() {
|
||||||
echo_c 33 "\n SoC: $SOC\nBoard: $BOARD\n"
|
echo_c 33 "\n SoC: $SOC\nBoard: $BOARD\n"
|
||||||
|
|
||||||
if [ "all" = "${COMMAND}" ]; then
|
if [ "all" = "${COMMAND}" ]; then
|
||||||
fresh $(make BOARD=${BOARD} buildroot-version)
|
fresh $(make BOARD=${BOARD})
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_and_run "make BOARD=${BOARD} ${COMMAND}"
|
log_and_run "make BOARD=${BOARD} ${COMMAND}"
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
device=$(fw_printenv -n wlandev)
|
||||||
|
|
||||||
|
if [ "$1" = "start" ] && [ ! -z "$device" ]; then
|
||||||
|
if /etc/wireless "$device"; then
|
||||||
|
echo "$device" | logger
|
||||||
|
fi
|
||||||
|
fi
|
|
@ -0,0 +1,2 @@
|
||||||
|
auto usb0
|
||||||
|
iface usb0 inet dhcp
|
|
@ -0,0 +1,6 @@
|
||||||
|
auto wlan0
|
||||||
|
iface wlan0 inet dhcp
|
||||||
|
post-up wpa_passphrase "$(fw_printenv -n wlanssid || echo OpenIPC)" "$(fw_printenv -n wlanpass || echo OpenIPC12345)" > /tmp/wpa_supplicant.conf
|
||||||
|
post-up sed -i '2i \\tscan_ssid=1' /tmp/wpa_supplicant.conf
|
||||||
|
post-up wpa_supplicant -B -i wlan0 -D nl80211,wext -c /tmp/wpa_supplicant.conf
|
||||||
|
post-down killall -q wpa_supplicant
|
|
@ -1,27 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
MODEL=gk7205v200
|
|
||||||
FLAVOR=ultimate
|
|
||||||
|
|
||||||
|
|
||||||
cd ../../openipc/output/images
|
|
||||||
pwd
|
|
||||||
|
|
||||||
|
|
||||||
if [ -e uImage ]; then
|
|
||||||
mv uImage uImage.${MODEL}
|
|
||||||
md5sum uImage.${MODEL} > uImage.${MODEL}.md5sum
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e rootfs.squashfs ]; then
|
|
||||||
mv rootfs.squashfs rootfs.squashfs.${MODEL}
|
|
||||||
md5sum rootfs.squashfs.${MODEL} > rootfs.squashfs.${MODEL}.md5sum
|
|
||||||
fi
|
|
||||||
|
|
||||||
tar czf openipc.${MODEL}-nor-${FLAVOR}.tgz \
|
|
||||||
uImage.${MODEL} uImage.${MODEL}.md5sum \
|
|
||||||
rootfs.squashfs.${MODEL} rootfs.squashfs.${MODEL}.md5sum
|
|
||||||
|
|
||||||
ls -la uImage.${MODEL} rootfs.squashfs.${MODEL} openipc.${MODEL}-nor-${FLAVOR}.tgz
|
|
||||||
|
|
||||||
cd -
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
MODEL=t31
|
|
||||||
FLAVOR=lite
|
|
||||||
|
|
||||||
|
|
||||||
cd ../../openipc/output/images
|
|
||||||
pwd
|
|
||||||
|
|
||||||
|
|
||||||
if [ -e uImage ]; then
|
|
||||||
mv uImage uImage.${MODEL}
|
|
||||||
md5sum uImage.${MODEL} > uImage.${MODEL}.md5sum
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -e rootfs.squashfs ]; then
|
|
||||||
mv rootfs.squashfs rootfs.squashfs.${MODEL}
|
|
||||||
md5sum rootfs.squashfs.${MODEL} > rootfs.squashfs.${MODEL}.md5sum
|
|
||||||
fi
|
|
||||||
|
|
||||||
tar czf openipc.${MODEL}-nor-${FLAVOR}.tgz \
|
|
||||||
uImage.${MODEL} uImage.${MODEL}.md5sum \
|
|
||||||
rootfs.squashfs.${MODEL} rootfs.squashfs.${MODEL}.md5sum
|
|
||||||
|
|
||||||
ls -la uImage.${MODEL} rootfs.squashfs.${MODEL} openipc.${MODEL}-nor-${FLAVOR}.tgz
|
|
||||||
|
|
||||||
cd -
|
|
Loading…
Reference in New Issue