diff --git a/br-ext-chip-goke/Config.in b/br-ext-chip-goke/Config.in index 1b3f8253..655343a2 100644 --- a/br-ext-chip-goke/Config.in +++ b/br-ext-chip-goke/Config.in @@ -1,6 +1,7 @@ source "$BR2_EXTERNAL_GOKE_PATH/linux/Config.ext.in" source "$BR2_EXTERNAL_GOKE_PATH/package/goke_patcher/Config.in" source "$BR2_EXTERNAL_GOKE_PATH/package/aura-httpd/Config.in" +source "$BR2_EXTERNAL_GOKE_PATH/package/ax-agent/Config.in" source "$BR2_EXTERNAL_GOKE_PATH/package/baresip-openipc/Config.in" source "$BR2_EXTERNAL_GOKE_PATH/package/dropbear-openipc/Config.in" source "$BR2_EXTERNAL_GOKE_PATH/package/fdk-aac-openipc/Config.in" diff --git a/br-ext-chip-goke/external.mk b/br-ext-chip-goke/external.mk index 67d7e530..4822fd3b 100644 --- a/br-ext-chip-goke/external.mk +++ b/br-ext-chip-goke/external.mk @@ -1,6 +1,7 @@ include $(BR2_EXTERNAL_GOKE_PATH)/linux/linux-ext-goke_patcher.mk include $(BR2_EXTERNAL_GOKE_PATH)/package/goke_patcher/goke_patcher.mk include $(BR2_EXTERNAL_GOKE_PATH)/package/aura-httpd/aura-httpd.mk +include $(BR2_EXTERNAL_GOKE_PATH)/package/ax-agent/ax-agent.mk include $(BR2_EXTERNAL_GOKE_PATH)/package/baresip-openipc/baresip-openipc.mk include $(BR2_EXTERNAL_GOKE_PATH)/package/dropbear-openipc/dropbear-openipc.mk include $(BR2_EXTERNAL_GOKE_PATH)/package/fdk-aac-openipc/fdk-aac-openipc.mk diff --git a/br-ext-chip-goke/package/ax-agent b/br-ext-chip-goke/package/ax-agent new file mode 120000 index 00000000..ed6ab54a --- /dev/null +++ b/br-ext-chip-goke/package/ax-agent @@ -0,0 +1 @@ +../../general/package/ax-agent \ No newline at end of file diff --git a/br-ext-chip-ingenic/Config.in b/br-ext-chip-ingenic/Config.in index 20386b40..5b569a57 100644 --- a/br-ext-chip-ingenic/Config.in +++ b/br-ext-chip-ingenic/Config.in @@ -4,6 +4,7 @@ source "$BR2_EXTERNAL_INGENIC_PATH/package/ingenic-osdrv-t21/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/ingenic-osdrv-t31/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/ingenic_patcher/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/aura-httpd/Config.in" +source "$BR2_EXTERNAL_INGENIC_PATH/package/ax-agent/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/dropbear-openipc/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/fdk-aac-openipc/Config.in" source "$BR2_EXTERNAL_INGENIC_PATH/package/fwprintenv-openipc/Config.in" diff --git a/br-ext-chip-ingenic/external.mk b/br-ext-chip-ingenic/external.mk index c18957ed..f2ff6979 100644 --- a/br-ext-chip-ingenic/external.mk +++ b/br-ext-chip-ingenic/external.mk @@ -4,6 +4,7 @@ include $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t21/ingenic-osdrv-t21 include $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic-osdrv-t31/ingenic-osdrv-t31.mk include $(BR2_EXTERNAL_INGENIC_PATH)/package/ingenic_patcher/ingenic_patcher.mk include $(BR2_EXTERNAL_INGENIC_PATH)/package/aura-httpd/aura-httpd.mk +include $(BR2_EXTERNAL_INGENIC_PATH)/package/ax-agent/ax-agent.mk include $(BR2_EXTERNAL_INGENIC_PATH)/package/dropbear-openipc/dropbear-openipc.mk include $(BR2_EXTERNAL_INGENIC_PATH)/package/fdk-aac-openipc/fdk-aac-openipc.mk include $(BR2_EXTERNAL_INGENIC_PATH)/package/fwprintenv-openipc/fwprintenv-openipc.mk diff --git a/br-ext-chip-ingenic/package/ax-agent b/br-ext-chip-ingenic/package/ax-agent new file mode 120000 index 00000000..ed6ab54a --- /dev/null +++ b/br-ext-chip-ingenic/package/ax-agent @@ -0,0 +1 @@ +../../general/package/ax-agent \ No newline at end of file diff --git a/general/package/ax-agent/Config.in b/general/package/ax-agent/Config.in new file mode 100644 index 00000000..32a435a3 --- /dev/null +++ b/general/package/ax-agent/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_AX_AGENT + bool "ax-agent" + default n + help + Simple daemon + + https://openipc.org diff --git a/general/package/ax-agent/ax-agent.mk b/general/package/ax-agent/ax-agent.mk new file mode 100644 index 00000000..810e28f5 --- /dev/null +++ b/general/package/ax-agent/ax-agent.mk @@ -0,0 +1,22 @@ +################################################################################ +# +# ax-agent | updated 2022.08.09 +# +################################################################################ + +AX_AGENT_LICENSE = MIT +AX_AGENT_LICENSE_FILES = LICENSE + +define AX_AGENT_EXTRACT_CMDS + cp $(BR2_EXTERNAL_GOKE_PATH)/package/ax-agent/src/ax-agent.c $(@D)/ +endef + +define AX_AGENT_BUILD_CMDS + (cd $(@D); $(TARGET_CC) -s ax-agent.c -o ax-agent) +endef + +define AX_AGENT_INSTALL_TARGET_CMDS + install -m 0755 -D $(@D)/ax-agent $(TARGET_DIR)/usr/sbin/ax-agent +endef + +$(eval $(generic-package)) diff --git a/general/package/ax-agent/src/ax-agent.c b/general/package/ax-agent/src/ax-agent.c new file mode 100644 index 00000000..aec22620 --- /dev/null +++ b/general/package/ax-agent/src/ax-agent.c @@ -0,0 +1,7 @@ +#include + +int main (void) +{ + puts ("Hello, World!"); + return 0; +} \ No newline at end of file diff --git a/general/package/hisi_gpio/Config.in b/general/package/hisi_gpio/Config.in index 33b8f250..d512789b 100644 --- a/general/package/hisi_gpio/Config.in +++ b/general/package/hisi_gpio/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_HISI_GPIO bool "hisi_gpio" + default n help Utility for diagnosing, displaying GPIO statuses and running commands.