Skip to contentSkip to conversation

mcf-camera-app: Add new recipe for matrix camera streaming application

PATCH Superseded Punya Prakash 2 participants 2 messages Jun 2, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mcf-camera-app: Add new recipe for matrix camera streaming application

* Support for media controller framework
* Create and set-up link
* Configuration of format for each pad
* Streaming for specified duration

Signed-off-by Punya Prakash <[email protected]>

---
 recipes/ti/mcf-camera-app_1.0.bb |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/mcf-camera-app_1.0.bb
recipes/ti/mcf-camera-app_1.0.bb new file +28 -0
new file mode 100644
index 0000000..e2f9e60
@@ -0,0 +1,28 @@
+DESCRIPTION = "MCF Camera Application"
+HOMEPAGE = "https://gforge.ti.com/gf/project/mcf_camera_app/"
+LICENSE = "BSD"
+SECTION = "system"
+PRIORITY = "optional"
+
+SRCREV = "3"
+PR = "r0"
+
+DEPENDS += "virtual/kernel"
+
+PLATFORM_am37x-evm = "am3715"
+PLATFORM_beagleboard = "am3715"
+
+INSANE_SKIP_${PN} = "True"
+
+SRC_URI = "svn://gforge.ti.com/svn/mcf_camera_app/;module=trunk;proto=https;user=anonymous;pswd=''"
+
+S = "${WORKDIR}/trunk"
+
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	make LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${PLATFORM}"
+}
+
+do_install() {
+	make DESTDIR=${D} install
+}
Signature · 1 line
1.7.0.4
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 8 lines · Punya Prakash

* Support for media controller framework
* Create and set-up link

(quoted diff) +0 -0
 	* Configuration of format for each pad
 	* Streaming for specified duration

Signed-off-by Punya Prakash <[email protected]>

+++ b/recipes/ti/mcf-camera-app_1.0.bb

recipes/ti/mcf-camera-app_1.0.bb line 23

Quoted 6 lines
recipes/ti/mcf-camera-app_1.0.bb new file +5 -0
+PLATFORM_am37x-evm = "am3715"
+PLATFORM_beagleboard = "am3715"
 
+do_compile() {
+	export CROSS_COMPILE=${TARGET_PREFIX}
+	make LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" PLATFORM="${PLATFORM}"

So it seems to be machine specific, you need PACKAGE_ARCH = $MACHINE_ARCH. And please use oe_runmake.

Quoted 1 line

+INSANE_SKIP_${PN} = "True"

Since this is in internal app we can fix, this won't go in before the QA errors have been fixed.
If for some unforeseen reason the QA errors can't be fixed, you should at least add a comment what the errors are and why they can't get fixed.

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFN50MyMkyGM64RGpERAr6iAKCZvA/Y3qqN12+SSxZT3c+PZqPOrQCgrs/a ugfQQJ1GpVgpRFZ39Akp7gQ=
=FEPN
-----END PGP SIGNATURE-----