]> git.proxmox.com Git - mirror_edk2.git/commitdiff
edk2: jansson submodule for edk2 JSON library
authorAbner Chang <abner.chang@hpe.com>
Wed, 25 Nov 2020 11:07:08 +0000 (19:07 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sat, 9 Jan 2021 03:08:51 +0000 (03:08 +0000)
Add git submodule "jansson" library, which is the open
source project (https://github.com/akheron/jansson) used
to manipulate JSON data structure. jansson library is
wrapped as edk2 JsonLib and the use cases will be the
edk2 Redfish feature drivers and edk2 port of libredfish
(https://github.com/DMTF/libredfish).
jansson open source project is under MIT license.
(refer to ReadMe.rst under edk2).

Signed-off-by: Abner Chang <abner.chang@hpe.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Nickle Wang <nickle.wang@hpe.com>
Cc: Peter O'Hanley <peter.ohanley@hpe.com>
Reviewed-by: Nickle Wang <nickle.wang@hpe.com>
Acked-by: Leif Lindholm <leif@nuviainc.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
.gitmodules
ReadMe.rst
RedfishPkg/Library/JsonLib/jansson [new submodule]

index c3a4e4aeca600430a3e9232f3d9f929c0b73281b..0f06c09a29a1d2e44912c772c2994a5756dc8233 100644 (file)
@@ -17,3 +17,6 @@
        path = BaseTools/Source/C/BrotliCompress/brotli
        url = https://github.com/google/brotli
        ignore = untracked\r
+[submodule "RedfishPkg/Library/JsonLib/jansson"]
+       path = RedfishPkg/Library/JsonLib/jansson
+       url = https://github.com/akheron/jansson
index c3c8178373fd6b710860cab2f21f53f00bd4183e..b754378646db82b1fb5e5fddc07da32297baeabb 100644 (file)
@@ -93,6 +93,7 @@ that are covered by additional licenses.
 -  `MdeModulePkg/Library/BrotliCustomDecompressLib/brotli <https://github.com/google/brotli/blob/666c3280cc11dc433c303d79a83d4ffbdd12cc8d/LICENSE>`__\r
 -  `MdeModulePkg/Universal/RegularExpressionDxe/oniguruma <https://github.com/kkos/oniguruma/blob/abfc8ff81df4067f309032467785e06975678f0d/COPYING>`__\r
 -  `UnitTestFrameworkPkg/Library/CmockaLib/cmocka <https://git.cryptomilk.org/projects/cmocka.git/tree/COPYING?h=cmocka-1.1.5&id=f5e2cd77c88d9f792562888d2b70c5a396bfbf7a>`__\r
+-  `RedfishPkg/Library/JsonLib/jansson <https://github.com/akheron/jansson/blob/2882ead5bb90cf12a01b07b2c2361e24960fae02/LICENSE>`__\r
 \r
 The EDK II Project is composed of packages. The maintainers for each package\r
 are listed in `Maintainers.txt <Maintainers.txt>`__.\r
diff --git a/RedfishPkg/Library/JsonLib/jansson b/RedfishPkg/Library/JsonLib/jansson
new file mode 160000 (submodule)
index 0000000..e9ebfa7
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit e9ebfa7e77a6bee77df44e096b100e7131044059