From 28df7e638c1b7c151c79f7ae1fde94495c06b939 Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (via Araneus server)" Date: Mon, 26 Jul 2021 23:55:21 +0300 Subject: [PATCH] Add majestic-ssc335 --- br-ext-chip-sigmastar/Config.in | 1 + .../unknown_unknown_ssc335_openipc_defconfig | 7 +++++- br-ext-chip-sigmastar/external.mk | 1 + .../package/majestic-ssc335/Config.in | 7 ++++++ .../majestic-ssc335/majestic-ssc335.mk | 22 +++++++++++++++++++ 5 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 br-ext-chip-sigmastar/package/majestic-ssc335/Config.in create mode 100644 br-ext-chip-sigmastar/package/majestic-ssc335/majestic-ssc335.mk diff --git a/br-ext-chip-sigmastar/Config.in b/br-ext-chip-sigmastar/Config.in index 810cfebe..ef05af75 100644 --- a/br-ext-chip-sigmastar/Config.in +++ b/br-ext-chip-sigmastar/Config.in @@ -7,6 +7,7 @@ source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/ipctool/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/libevent-mini/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/libhv/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/libsrt/Config.in" +source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/majestic-ssc335/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/node-exporter/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/sigmastar-osdrv-ssc335/Config.in" source "$BR2_EXTERNAL_SIGMASTAR_PATH/package/vtund-lite/Config.in" diff --git a/br-ext-chip-sigmastar/configs/unknown_unknown_ssc335_openipc_defconfig b/br-ext-chip-sigmastar/configs/unknown_unknown_ssc335_openipc_defconfig index 3d47ff15..9323f672 100644 --- a/br-ext-chip-sigmastar/configs/unknown_unknown_ssc335_openipc_defconfig +++ b/br-ext-chip-sigmastar/configs/unknown_unknown_ssc335_openipc_defconfig @@ -55,7 +55,7 @@ BR2_PACKAGE_JSON_C=y BR2_PACKAGE_LAME=y BR2_PACKAGE_LIBEVENT_MINI=y BR2_PACKAGE_LIBYAML=y -# BR2_PACKAGE_MAJESTIC is not set +BR2_PACKAGE_MAJESTIC_SSC335=y # BR2_PACKAGE_MINI_SNMPD is not set BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y BR2_PACKAGE_VTUND_LITE=y @@ -81,3 +81,8 @@ BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y # MQTT BR2_PACKAGE_MOSQUITTO=y # BR2_PACKAGE_MOSQUITTO_BROKER is not set + +# Project +BR2_PACKAGE_MBEDTLS=y +# BR2_PACKAGE_MBEDTLS_PROGRAMS is not set +# BR2_PACKAGE_MBEDTLS_COMPRESSION is not set diff --git a/br-ext-chip-sigmastar/external.mk b/br-ext-chip-sigmastar/external.mk index eb056f9f..de261f7b 100644 --- a/br-ext-chip-sigmastar/external.mk +++ b/br-ext-chip-sigmastar/external.mk @@ -7,6 +7,7 @@ include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/ipctool/ipctool.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/libevent-mini/libevent-mini.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/libhv/libhv.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/libsrt/libsrt.mk +include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/majestic-ssc335/majestic-ssc335.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/node-exporter/node-exporter.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/sigmastar-osdrv-ssc335/sigmastar-osdrv-ssc335.mk include $(BR2_EXTERNAL_SIGMASTAR_PATH)/package/vtund-lite/vtund-lite.mk diff --git a/br-ext-chip-sigmastar/package/majestic-ssc335/Config.in b/br-ext-chip-sigmastar/package/majestic-ssc335/Config.in new file mode 100644 index 00000000..2497865e --- /dev/null +++ b/br-ext-chip-sigmastar/package/majestic-ssc335/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_MAJESTIC_SSC335 + bool "Tiny but powerful IPC streaming software" + default y + help + Tiny but powerful IPC streaming software + + https://openipc.org diff --git a/br-ext-chip-sigmastar/package/majestic-ssc335/majestic-ssc335.mk b/br-ext-chip-sigmastar/package/majestic-ssc335/majestic-ssc335.mk new file mode 100644 index 00000000..a09342c8 --- /dev/null +++ b/br-ext-chip-sigmastar/package/majestic-ssc335/majestic-ssc335.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# majestic-ssc335 +# +################################################################################ + +MAJESTIC_SSC335_VERSION = current +MAJESTIC_SSC335_SOURCE = majestic.ssc335.master.tar.bz2 +MAJESTIC_SSC335_SITE = http://openipc.s3-eu-west-1.amazonaws.com +MAJESTIC_SSC335_LICENSE = MIT +MAJESTIC_SSC335_LICENSE_FILES = LICENSE + +define MAJESTIC_SSC335_INSTALL_TARGET_CMDS + $(INSTALL) -m 755 -d $(TARGET_DIR)/etc + $(INSTALL) -m 644 -t $(TARGET_DIR)/etc $(@D)/majestic.yaml + + $(INSTALL) -m 755 -d $(TARGET_DIR)/usr/bin + $(INSTALL) -m 755 -t $(TARGET_DIR)/usr/bin $(@D)/majestic +endef + + +$(eval $(generic-package))