summaryrefslogtreecommitdiff
path: root/genivi
diff options
context:
space:
mode:
Diffstat (limited to 'genivi')
-rw-r--r--genivi/strata/genivi.morph6
-rw-r--r--genivi/strata/genivi/json-c.morph7
2 files changed, 13 insertions, 0 deletions
diff --git a/genivi/strata/genivi.morph b/genivi/strata/genivi.morph
index 9b3a617..2fc5b53 100644
--- a/genivi/strata/genivi.morph
+++ b/genivi/strata/genivi.morph
@@ -88,6 +88,11 @@ chunks:
build-depends:
- DLT-daemon
- persistence-client-library
+- name: json-c
+ morph: genivi/strata/genivi/json-c.morph
+ repo: upstream:json-c
+ ref: e8bd6865d7a671e9f75ece05dfe86a19ba610581
+ unpetrify-ref: baserock/json-c-0.12-20140410-plus-patch
- name: persistence-administrator
morph: genivi/strata/genivi/persistence-administrator.morph
repo: upstream:genivi/persistence-administrator
@@ -96,6 +101,7 @@ chunks:
build-depends:
- persistence-common-object
- DLT-daemon
+ - json-c
- node-state-manager
- name: node-health-monitor
repo: upstream:genivi/node-health-monitor
diff --git a/genivi/strata/genivi/json-c.morph b/genivi/strata/genivi/json-c.morph
new file mode 100644
index 0000000..c3d9243
--- /dev/null
+++ b/genivi/strata/genivi/json-c.morph
@@ -0,0 +1,7 @@
+name: json-c
+kind: chunk
+description: JSON C Library
+build-system: autotools
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- install -m755 json_object_iterator.h "$DESTDIR/usr/include/json"