summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-multimedia/avb-applications
diff options
context:
space:
mode:
authorThao Nguyen <thao.nguyen.yb@renesas.com>2017-09-11 13:43:43 +0700
committerThuy Tran <thuy.tran.xh@rvc.renesas.com>2018-01-30 10:07:59 +0700
commit4d30aff043f28e62d0387beea8234252cb81d8f5 (patch)
tree39e5e431f16e1152a9fa82c54bfc8ce00a5c616b /meta-rcar-gen3/recipes-multimedia/avb-applications
parent3e0aa5e9279916634796f8a51018a202590af2f2 (diff)
rcar-gen3: open-avb: Update SRCREV to follow latest version
This commit modifies SRCREV of open-avb to follow upstream repository name/URL change. It also adds 2 patches to fix compile error and QA issues. Signed-off-by: Thao Nguyen <thao.nguyen.yb@renesas.com> Signed-off-by: Masaru Nagai <masaru.nagai.vx@renesas.com> Signed-off-by: Thuy Tran <thuy.tran.xh@rvc.renesas.com> Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-multimedia/avb-applications')
-rw-r--r--meta-rcar-gen3/recipes-multimedia/avb-applications/avb-applications.inc2
-rw-r--r--meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps.bb4
-rw-r--r--meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps/0001-make-fix-install-and-clean-error.patch99
3 files changed, 104 insertions, 1 deletions
diff --git a/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-applications.inc b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-applications.inc
index 2d2c557..c1f0141 100644
--- a/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-applications.inc
+++ b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-applications.inc
@@ -6,4 +6,4 @@ inherit distro_features_check
REQUIRED_DISTRO_FEATURES = "avb"
SRC_URI = "git://github.com/renesas-rcar/avb-applications.git;branch=rcar-gen3"
-SRCREV = "e959010b9b26b684a53db536a02b2f96f0d177ac"
+SRCREV = "4c4408e12c0cb7bfecdc73ada7639d4bace9273e"
diff --git a/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps.bb b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps.bb
index 4e6e4f1..3a309ef 100644
--- a/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps.bb
+++ b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps.bb
@@ -12,6 +12,10 @@ LIC_FILES_CHKSUM = " \
DEPENDS = "kernel-module-avb-streaming libyaml cmake-native"
+# Fix install and clean error
+SRC_URI_append = " \
+ file://0001-make-fix-install-and-clean-error.patch;patchdir=${WORKDIR}/git \
+"
S = "${WORKDIR}/git/avb-demoapps"
includedir = "${RENESAS_DATADIR}/include"
diff --git a/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps/0001-make-fix-install-and-clean-error.patch b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps/0001-make-fix-install-and-clean-error.patch
new file mode 100644
index 0000000..86d87c0
--- /dev/null
+++ b/meta-rcar-gen3/recipes-multimedia/avb-applications/avb-demoapps/0001-make-fix-install-and-clean-error.patch
@@ -0,0 +1,99 @@
+From 183adcb314c960b45db2f35718988020e8ba79fe Mon Sep 17 00:00:00 2001
+From: Masaru Nagai <masaru.nagai.vx@renesas.com>
+Date: Fri, 22 Dec 2017 22:28:04 +0900
+Subject: [PATCH] make: fix install and clean error
+
+install error
+
+| make[1]: Entering directory `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib'
+| make[2]: Entering directory `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib/avtp'
+| make[2]: *** No rule to make target `install'. Stop.
+| make[2]: Leaving directory `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib/avtp'
+| make[1]: *** [install.subdirs] Error 2
+| make[1]: Leaving directory `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib'
+| make: *** [install.subdirs] Error 2
+
+clean error if no generate makefile of jdksavdecc-c
+
+| % make clean
+| rm -f libavdecc.a libjdksavdecc-c.a avdecc.o common.o avdecc_entity.o
+| adp.o aecp.o acmp.o
+| cd jdksavdecc-c; make clean
+| make[1]: Entering directory
+| `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib/avdecc/jdksavdecc-c'
+| make[1]: *** No rule to make target `clean'. Stop.
+| make[1]: Leaving directory
+| `/home/masaru.nagai/proj/git/avb-applications/avb-demoapps/lib/avdecc/jdksavdecc-c'
+| make: *** [clean] Error 2
+
+Signed-off-by: Masaru Nagai <masaru.nagai.vx@ienesas.com>
+---
+ avb-demoapps/lib/avdecc/Makefile | 15 +++++++++++----
+ avb-demoapps/lib/avtp/Makefile | 3 +++
+ avb-demoapps/lib/eavb/Makefile | 3 +++
+ avb-demoapps/lib/msrp/Makefile | 3 +++
+ 4 files changed, 20 insertions(+), 4 deletions(-)
+
+diff --git a/avb-demoapps/lib/avdecc/Makefile b/avb-demoapps/lib/avdecc/Makefile
+index cb68fe0..7006c36 100644
+--- a/avb-demoapps/lib/avdecc/Makefile
++++ b/avb-demoapps/lib/avdecc/Makefile
+@@ -41,11 +41,18 @@ libavdecc.a: $(OBJS)
+ libjdksavdecc-c:
+ git submodule init
+ git submodule update
++
++libjdksavdecc-c/Makefile:
+ cd jdksavdecc-c; cmake -G "Unix Makefiles"
+
+-libjdksavdecc-c.a: libjdksavdecc-c
+- cd jdksavdecc-c; make
++libjdksavdecc-c.a: libjdksavdecc-c/Makefile
++ $(MAKE) -C jdksavdecc-c
+
+-clean:
++libjdksavdecc-c.clean: libjdksavdecc-c/Makefile
++ $(MAKE) -C jdksavdecc-c clean
++
++clean: libjdksavdecc-c.clean
+ $(RM) $(TARGET) $(OBJS)
+- cd jdksavdecc-c; make clean
++
++install:
++ # no operation
+diff --git a/avb-demoapps/lib/avtp/Makefile b/avb-demoapps/lib/avtp/Makefile
+index 373ed29..34557e3 100644
+--- a/avb-demoapps/lib/avtp/Makefile
++++ b/avb-demoapps/lib/avtp/Makefile
+@@ -34,3 +34,6 @@ $(TARGET): $(OBJS)
+
+ clean:
+ $(RM) $(TARGET) $(OBJS)
++
++install:
++ # no operation
+diff --git a/avb-demoapps/lib/eavb/Makefile b/avb-demoapps/lib/eavb/Makefile
+index 223c1fb..5887665 100644
+--- a/avb-demoapps/lib/eavb/Makefile
++++ b/avb-demoapps/lib/eavb/Makefile
+@@ -36,3 +36,6 @@ $(TARGET): $(OBJS)
+
+ clean:
+ $(RM) $(TARGET) $(OBJS)
++
++install:
++ # no operation
+diff --git a/avb-demoapps/lib/msrp/Makefile b/avb-demoapps/lib/msrp/Makefile
+index a8b7300..d00f71a 100644
+--- a/avb-demoapps/lib/msrp/Makefile
++++ b/avb-demoapps/lib/msrp/Makefile
+@@ -34,3 +34,6 @@ $(TARGET): $(OBJS)
+
+ clean:
+ $(RM) $(TARGET) $(OBJS)
++
++install:
++ # no operation
+--
+1.9.1
+