]> granicus.if.org Git - esp-idf/commitdiff
protobuf-c : Added Google's protocol buffer C library as sub-module
authorAmey Inamdar <amey@espressif.com>
Fri, 20 Jul 2018 12:35:31 +0000 (18:05 +0530)
committerAnurag Kar <anurag.kar@espressif.com>
Tue, 2 Oct 2018 13:37:28 +0000 (19:07 +0530)
Source https://github.com/protobuf-c/protobuf-c

Co-Authored-By: Amey Inamdar <amey@espressif.com>
Co-Authored-By: Anurag Kar <anurag.kar@espressif.com>
.gitmodules
components/protobuf-c/CMakeLists.txt [new file with mode: 0644]
components/protobuf-c/component.mk [new file with mode: 0644]
components/protobuf-c/protobuf-c [new submodule]
tools/ci/mirror-list.txt

index 164d2ce98db4978063d9aefb0a531139ee903538..12672aae1edd8150133baa18bd86f1a8c57e2cc8 100644 (file)
@@ -57,3 +57,7 @@
 [submodule "components/mqtt/esp-mqtt"]
        path = components/mqtt/esp-mqtt
        url = https://github.com/espressif/esp-mqtt.git
+
+[submodule "components/protobuf-c/protobuf-c"]
+       path = components/protobuf-c/protobuf-c
+       url = https://github.com/protobuf-c/protobuf-c
diff --git a/components/protobuf-c/CMakeLists.txt b/components/protobuf-c/CMakeLists.txt
new file mode 100644 (file)
index 0000000..1c9a3ff
--- /dev/null
@@ -0,0 +1,4 @@
+set(COMPONENT_ADD_INCLUDEDIRS protobuf-c)
+set(COMPONENT_SRCS "protobuf-c/protobuf-c/protobuf-c.c")
+
+register_component()
diff --git a/components/protobuf-c/component.mk b/components/protobuf-c/component.mk
new file mode 100644 (file)
index 0000000..a8c4900
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# Component Makefile
+#
+COMPONENT_ADD_INCLUDEDIRS := protobuf-c
+
+COMPONENT_SRCDIRS := protobuf-c/protobuf-c
+
+COMPONENT_SUBMODULES += protobuf-c
diff --git a/components/protobuf-c/protobuf-c b/components/protobuf-c/protobuf-c
new file mode 160000 (submodule)
index 0000000..dac1a65
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit dac1a65feac4ad72f612aab99f487056fbcf5c1a
index 621a03b4cda86c22bf975568e461fc9773caecd3..b015e61cb75de89abe92a3f7eac45c1c2392b391 100644 (file)
@@ -15,3 +15,4 @@ components/lwip/lwip                                @GENERAL_MIRROR_SERVER@/idf/
 third-party/mruby                                   @GENERAL_MIRROR_SERVER@/idf/mruby.git                           ALLOW_TO_SYNC_FROM_PUBLIC
 third-party/neverbleed                              @GENERAL_MIRROR_SERVER@/idf/neverbleed.git                      ALLOW_TO_SYNC_FROM_PUBLIC
 components/mqtt/esp-mqtt                            @GENERAL_MIRROR_SERVER@/idf/esp-mqtt.git                        ALLOW_TO_SYNC_FROM_PUBLIC
+components/protobuf-c/protobuf-c                    @GENERAL_MIRROR_SERVER@/idf/protobuf-c.git                      ALLOW_TO_SYNC_FROM_PUBLIC