From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH v2] Add support for at91sam9m10 H/W video decoder
Date: Tue, 01 Feb 2011 07:01:24 +0100 [thread overview]
Message-ID: <ii87jl$55b$1@dough.gmane.org> (raw)
In-Reply-To: <1296507563-5509-1-git-send-email-ulf.samuelsson@atmel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 31-01-11 21:59, Ulf Samuelsson wrote:
> +do_stage() {
> + echo staging ...
> + oe_libinstall -s -a -C ${S}/src/.libs libgstx170 ${STAGING_LIBDIR}
> + install -m 0644 ${S}/src/gstx170.h ${STAGING_INCDIR}/
No legacy staging allowed in new recipes
> +do_install() {
> + echo install ...
remove
> diff --git a/recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb b/recipes/at91sam9m10-vdec/on2-8170-libs_1.0.bb
> +SRC_URI_append = ""
remove
> +do_stage() {
> + oe_libinstall -s -a -C ${S} libdwlx170 ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libdecx170h ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libx170j ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libdecx170m2 ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libdecx170m ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libdecx170p ${STAGING_LIBDIR}
> + oe_libinstall -s -a -C ${S} libdecx170v ${STAGING_LIBDIR}
> +
> + install -m 0644 ${S}/*.h ${STAGING_INCDIR}/
> +}
No legacy staging allowed in new recipes
> diff --git a/recipes/images/x11-at91sam9m10-image.bb b/recipes/images/x11-at91sam9m10-image.bb
> +at91sam9m10_rootfs_postprocess() {
> + curdir=$PWD
> + cd ${IMAGE_ROOTFS}
> +
> + # add init script to cratee hantro modules /dev files
> + echo 'MAJOR=`cat /proc/devices |grep hx170|cut -f1 -d\ `' >> ${IMAGE_ROOTFS}//etc/init.d/hantro
> + echo 'mknod /dev/hx170 c $MAJOR 0' >> ${IMAGE_ROOTFS}/etc/init.d/hantro
> + echo 'MAJOR=`cat /proc/devices |grep memalloc|cut -f1 -d\ `' >> ${IMAGE_ROOTFS}//etc/init.d/hantro
> + echo 'mknod /dev/memalloc c $MAJOR 0' >> ${IMAGE_ROOTFS}/etc/init.d/hantro
> + chmod a+x ${IMAGE_ROOTFS}/etc/init.d/hantro
> + cd ${IMAGE_ROOTFS}/etc/rc5.d
> + ln -s ../init.d/hantro S51hantro
> +
> + # back on track
> + cd $curdir
> +}
Add that to the recipe and use the updated-rc.d class
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFNR6G0MkyGM64RGpERAmWdAJ45V+ZF5fMXZAwO5g7vvaJSy4Sg3gCfe6nr
U7flNLkyur1hOoAiX2teRSs=
=9ww2
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2011-02-01 6:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-31 20:59 [PATCH v2] Add support for at91sam9m10 H/W video decoder Ulf Samuelsson
2011-02-01 6:01 ` Koen Kooi [this message]
2011-02-12 0:03 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ii87jl$55b$1@dough.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox