From a99a94f20f5951576c6c496d2bed3b323f09c057 Mon Sep 17 00:00:00 2001 From: "Igor Zalatov (via Araneus server)" Date: Sun, 20 Jun 2021 23:20:10 +0300 Subject: [PATCH] Fullhan init --- br-ext-chip-fullhan/Config.in | 10 ++++++++++ br-ext-chip-fullhan/external.desc | 2 ++ br-ext-chip-fullhan/external.mk | 10 ++++++++++ br-ext-chip-fullhan/linux/Config.ext.in | 15 +++++++++++++++ .../linux/linux-ext-fullhan_patcher.mk | 11 +++++++++++ br-ext-chip-fullhan/package/aura-httpd | 1 + br-ext-chip-fullhan/package/fwprintenv-ng | 1 + br-ext-chip-fullhan/package/gdbserver-lite | 1 + br-ext-chip-fullhan/package/ipctool | 1 + br-ext-chip-fullhan/package/libevent-mini | 1 + br-ext-chip-fullhan/package/node-exporter | 1 + br-ext-chip-fullhan/package/vtund-lite | 1 + br-ext-chip-fullhan/package/yaml-cli | 1 + 13 files changed, 56 insertions(+) create mode 100644 br-ext-chip-fullhan/Config.in create mode 100644 br-ext-chip-fullhan/external.desc create mode 100644 br-ext-chip-fullhan/external.mk create mode 100644 br-ext-chip-fullhan/linux/Config.ext.in create mode 100644 br-ext-chip-fullhan/linux/linux-ext-fullhan_patcher.mk create mode 120000 br-ext-chip-fullhan/package/aura-httpd create mode 120000 br-ext-chip-fullhan/package/fwprintenv-ng create mode 120000 br-ext-chip-fullhan/package/gdbserver-lite create mode 120000 br-ext-chip-fullhan/package/ipctool create mode 120000 br-ext-chip-fullhan/package/libevent-mini create mode 120000 br-ext-chip-fullhan/package/node-exporter create mode 120000 br-ext-chip-fullhan/package/vtund-lite create mode 120000 br-ext-chip-fullhan/package/yaml-cli diff --git a/br-ext-chip-fullhan/Config.in b/br-ext-chip-fullhan/Config.in new file mode 100644 index 00000000..dd46d4a1 --- /dev/null +++ b/br-ext-chip-fullhan/Config.in @@ -0,0 +1,10 @@ +source "$BR2_EXTERNAL_FULLHAN_PATH/linux/Config.ext.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/fullhan_patcher/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/aura-httpd/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/fwprintenv-ng/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/ipctool/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/libevent-mini/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/majestic/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/node-exporter/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/vtund-lite/Config.in" +source "$BR2_EXTERNAL_FULLHAN_PATH/package/yaml-cli/Config.in" diff --git a/br-ext-chip-fullhan/external.desc b/br-ext-chip-fullhan/external.desc new file mode 100644 index 00000000..b53476cd --- /dev/null +++ b/br-ext-chip-fullhan/external.desc @@ -0,0 +1,2 @@ +name: FULLHAN +desc: Buildroot external tree for Fullhan based IP cameras diff --git a/br-ext-chip-fullhan/external.mk b/br-ext-chip-fullhan/external.mk new file mode 100644 index 00000000..20f671a4 --- /dev/null +++ b/br-ext-chip-fullhan/external.mk @@ -0,0 +1,10 @@ +include $(BR2_EXTERNAL_FULLHAN_PATH)/linux/linux-ext-fullhan_patcher.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/fullhan_patcher/fullhan_patcher.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/aura-httpd/aura-httpd.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/fwprintenv-ng/fwprintenv-ng.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/ipctool/ipctool.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/libevent-mini/libevent-mini.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/majestic/majestic.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/node-exporter/node-exporter.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/vtund-lite/vtund-lite.mk +include $(BR2_EXTERNAL_FULLHAN_PATH)/package/yaml-cli/yaml-cli.mk \ No newline at end of file diff --git a/br-ext-chip-fullhan/linux/Config.ext.in b/br-ext-chip-fullhan/linux/Config.ext.in new file mode 100644 index 00000000..39f4b0a3 --- /dev/null +++ b/br-ext-chip-fullhan/linux/Config.ext.in @@ -0,0 +1,15 @@ + +config BR2_LINUX_KERNEL_EXT_FULLHAN_PATCHER + bool "Fullhan kernel patches" + select BR2_PACKAGE_FULLHAN_PATCHER + help + Patch Kernel for Fullhan boards + +if BR2_LINUX_KERNEL_EXT_FULLHAN_PATCHER + +config BR2_LINUX_KERNEL_EXT_FULLHAN_PATCHER_LIST + string "Patch list" + help + Space-separated list of patches to be applied + +endif # BR2_LINUX_KERNEL_EXT_FULLHAN_PATCHER diff --git a/br-ext-chip-fullhan/linux/linux-ext-fullhan_patcher.mk b/br-ext-chip-fullhan/linux/linux-ext-fullhan_patcher.mk new file mode 100644 index 00000000..4071518d --- /dev/null +++ b/br-ext-chip-fullhan/linux/linux-ext-fullhan_patcher.mk @@ -0,0 +1,11 @@ +################################################################################ +# +# linux_kernel_ext_fullhan_patcher +# +################################################################################ + +LINUX_EXTENSIONS += fullhan_patcher + +define FULLHAN_PATCHER_PREPARE_KERNEL + $(FULLHAN_PATCHER_PKGDIR)/apply.sh $(@D) $(BR2_LINUX_KERNEL_EXT_FULLHAN_PATCHER_LIST) +endef diff --git a/br-ext-chip-fullhan/package/aura-httpd b/br-ext-chip-fullhan/package/aura-httpd new file mode 120000 index 00000000..e7e090ee --- /dev/null +++ b/br-ext-chip-fullhan/package/aura-httpd @@ -0,0 +1 @@ +../../general/package/aura-httpd \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/fwprintenv-ng b/br-ext-chip-fullhan/package/fwprintenv-ng new file mode 120000 index 00000000..a80f42f2 --- /dev/null +++ b/br-ext-chip-fullhan/package/fwprintenv-ng @@ -0,0 +1 @@ +../../general/package/fwprintenv-ng \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/gdbserver-lite b/br-ext-chip-fullhan/package/gdbserver-lite new file mode 120000 index 00000000..318b53a3 --- /dev/null +++ b/br-ext-chip-fullhan/package/gdbserver-lite @@ -0,0 +1 @@ +../../general/package/gdbserver-lite \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/ipctool b/br-ext-chip-fullhan/package/ipctool new file mode 120000 index 00000000..cf506f53 --- /dev/null +++ b/br-ext-chip-fullhan/package/ipctool @@ -0,0 +1 @@ +../../general/package/ipctool \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/libevent-mini b/br-ext-chip-fullhan/package/libevent-mini new file mode 120000 index 00000000..0c91c908 --- /dev/null +++ b/br-ext-chip-fullhan/package/libevent-mini @@ -0,0 +1 @@ +../../general/package/libevent-mini \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/node-exporter b/br-ext-chip-fullhan/package/node-exporter new file mode 120000 index 00000000..4ef72307 --- /dev/null +++ b/br-ext-chip-fullhan/package/node-exporter @@ -0,0 +1 @@ +../../general/package/node-exporter \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/vtund-lite b/br-ext-chip-fullhan/package/vtund-lite new file mode 120000 index 00000000..9ae6cc8d --- /dev/null +++ b/br-ext-chip-fullhan/package/vtund-lite @@ -0,0 +1 @@ +../../general/package/vtund-lite \ No newline at end of file diff --git a/br-ext-chip-fullhan/package/yaml-cli b/br-ext-chip-fullhan/package/yaml-cli new file mode 120000 index 00000000..6b7c1fa1 --- /dev/null +++ b/br-ext-chip-fullhan/package/yaml-cli @@ -0,0 +1 @@ +../../general/package/yaml-cli \ No newline at end of file