diff options
Diffstat (limited to 'meta-rcar-gen2/recipes-multimedia')
14 files changed, 105 insertions, 104 deletions
diff --git a/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb b/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb index 7b8e5ca..0bfc9af 100644 --- a/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/dtv-module/dtv-user-module.bb @@ -14,18 +14,18 @@ do_populate_lic[noexec] = "1" do_install() { # Create share folders - mkdir -p ${D}/usr/local/include/ ${D}/usr/local/lib ${D}/usr/local/src/dtv/reference + mkdir -p ${D}${RENESAS_DATADIR}/include/ ${D}${RENESAS_DATADIR}/lib ${D}${RENESAS_DATADIR}/src/dtv/reference # Copy share files to destination - cp -f ${WORKDIR}/dtv/include/*.h ${D}/usr/local/include/ - cp -f ${WORKDIR}/dtv/lib/libdtv.a ${D}/usr/local/lib - cp -f ${WORKDIR}/dtv/userfunc/* ${D}/usr/local/src/dtv/reference + cp -f ${WORKDIR}/dtv/include/*.h ${D}${RENESAS_DATADIR}/include/ + cp -f ${WORKDIR}/dtv/lib/libdtv.a ${D}${RENESAS_DATADIR}/lib + cp -f ${WORKDIR}/dtv/userfunc/* ${D}${RENESAS_DATADIR}/src/dtv/reference } SYSROOT_PREPROCESS_FUNCS += "do_populate_reference_src" do_populate_reference_src () { - sysroot_stage_dir ${D}/usr/local ${SYSROOT_DESTDIR}/usr/local + sysroot_stage_dir ${D}${RENESAS_DATADIR} ${SYSROOT_DESTDIR}${RENESAS_DATADIR} } PACKAGES = "\ @@ -38,13 +38,13 @@ FILES_${PN} = "" ALLOW_EMPTY_${PN} = "1" FILES_${PN}-dev = " \ - /usr/local/include/*.h \ - /usr/local/src/dtv/reference/*.c \ - /usr/local/src/dtv/reference/*.h \ + ${RENESAS_DATADIR}/include/*.h \ + ${RENESAS_DATADIR}/src/dtv/reference/*.c \ + ${RENESAS_DATADIR}/src/dtv/reference/*.h \ " FILES_${PN}-staticdev = " \ - /usr/local/lib/*.a \ + ${RENESAS_DATADIR}/lib/*.a \ " INHIBIT_PACKAGE_DEBUG_SPLIT = "1" diff --git a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb index 2f01ed3..6e65645 100644 --- a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-tp-user-module.bb @@ -13,10 +13,10 @@ do_compile() { do_install() { # Create destination folder - mkdir -p ${D}/usr/local/bin/ + mkdir -p ${D}${RENESAS_DATADIR}/bin/ # Copy user test program - cp ${S}/fdpm/fdpm_tp ${D}/usr/local/bin/ + cp ${S}/fdpm/fdpm_tp ${D}${RENESAS_DATADIR}/bin/ } PACKAGES = "\ @@ -24,7 +24,7 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/bin/fdpm_tp \ + ${RENESAS_DATADIR}/bin/fdpm_tp \ " RPROVIDES_${PN} += "fdpm-tp-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb index 7146a2a..3045560 100644 --- a/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/fdpm-module/fdpm-user-module.bb @@ -19,11 +19,11 @@ do_compile() { do_install() { # Create destination folder - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include/ + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include/ # Copy shared library - cp -P ${S}/if/libfdpm.so* ${D}/usr/local/lib - cp -rf ${S}/include/*h ${D}/usr/local/include/ + cp -P ${S}/if/libfdpm.so* ${D}${RENESAS_DATADIR}/lib + cp -rf ${S}/include/*h ${D}${RENESAS_DATADIR}/include/ } # Append function to clean extract source @@ -48,12 +48,12 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libfdpm.so.* \ + ${RENESAS_DATADIR}/lib/libfdpm.so.* \ " FILES_${PN}-dev = " \ - /usr/local/lib/libfdpm.so \ - /usr/local/include/*.h \ + ${RENESAS_DATADIR}/lib/libfdpm.so \ + ${RENESAS_DATADIR}/include/*.h \ " RPROVIDES_${PN} += "fdpm-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf index 375e201..d36d3c4 100644 --- a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf +++ b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx/gstomx.conf @@ -1,6 +1,6 @@ [omxh263dec] type-name=GstOMXH263Dec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.DECODER.H263 rank=512 in-port-index=0 @@ -9,7 +9,7 @@ hacks=event-port-settings-changed-ndata-parameter-swap;event-port-settings-chang [omxh264dec] type-name=GstOMXH264Dec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.DECODER.H264 rank=512 in-port-index=0 @@ -18,7 +18,7 @@ hacks=event-port-settings-changed-ndata-parameter-swap;event-port-settings-chang [omxmpeg2videodec] type-name=GstOMXMPEG2VideoDec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.DECODER.MPEG2 rank=512 in-port-index=0 @@ -27,7 +27,7 @@ hacks=event-port-settings-changed-ndata-parameter-swap;event-port-settings-chang [omxmpeg4videodec] type-name=GstOMXMPEG4VideoDec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.DECODER.MPEG4 rank=512 in-port-index=0 @@ -36,7 +36,7 @@ hacks=event-port-settings-changed-ndata-parameter-swap;event-port-settings-chang [omxvc1videodec] type-name=GstOMXVC1VideoDec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.DECODER.VC1 rank=512 in-port-index=0 @@ -45,7 +45,7 @@ hacks=event-port-settings-changed-ndata-parameter-swap;event-port-settings-chang [omxaacdec] type-name=GstOMXAACDec -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.AUDIO.DECODER.AAC rank=256 in-port-index=0 @@ -54,7 +54,7 @@ hacks= [omxh264enc] type-name=GstOMXH264Enc -core-name=/usr/local/lib/libomxr_core.so +core-name=${RENESAS_DATADIR}/lib/libomxr_core.so component-name=OMX.RENESAS.VIDEO.ENCODER.H264 rank=256 in-port-index=0 diff --git a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bbappend b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bbappend index 426f0c4..6ff948c 100644 --- a/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bbappend +++ b/meta-rcar-gen2/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.0.0.bbappend @@ -1,4 +1,5 @@ require ../../include/gles-control.inc +require include/rcar-gen2-path-common.inc SRC_URI_rcar-gen2 = "git://github.com/renesas-devel/gst-omx.git;protocol=git;branch=RCAR-GEN2/1.0.0" SRCREV_rcar-gen2 = "${@'e0a23fb50ec211a8058eac223847bbcc574fb343' \ @@ -24,7 +25,7 @@ EXTRA_OECONF_append_rcar-gen2 = " \ # Overwrite do_install[postfuncs] += " set_omx_core_name " # because it will force the plugin to use bellagio instead of our config revert_omx_core_name() { - sed -i -e "s;^core-name=.*;core-name=/usr/local/lib/libomxr_core.so;" "${D}/etc/xdg/gstomx.conf" + sed -i -e "s;^core-name=.*;core-name=${RENESAS_DATADIR}/lib/libomxr_core.so;" "${D}/etc/xdg/gstomx.conf" } REVERT_OMX_CORE_NAME = "" diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb index 515f784..de21e32 100644 --- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-tp-user-module.bb @@ -14,15 +14,15 @@ do_compile() { do_install() { # Copy kernel test program - mkdir -p ${D}/usr/local/bin/ - cp ${S}/mmtp ${D}/usr/local/bin/ + mkdir -p ${D}${RENESAS_DATADIR}/bin/ + cp ${S}/mmtp ${D}${RENESAS_DATADIR}/bin/ } PACKAGES = "\ ${PN} \ " FILES_${PN} = " \ - /usr/local/bin/mmtp \ + ${RENESAS_DATADIR}/bin/mmtp \ " RPROVIDES_${PN} += "mmngr-tp-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb index 3205915..d150d8a 100644 --- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngr-user-module.bb @@ -16,14 +16,14 @@ do_compile() { } do_install() { - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include # Copy shared library - cp -P ${S}/if/libmmngr.so* ${D}/usr/local/lib/ - cd ${D}/usr/local/lib/ + cp -P ${S}/if/libmmngr.so* ${D}${RENESAS_DATADIR}/lib/ + cd ${D}${RENESAS_DATADIR}/lib/ # Copy shared header files - cp -f ${BUILDDIR}/include/mmngr_user_public.h ${D}/usr/local/include - cp -f ${BUILDDIR}/include/mmngr_user_private.h ${D}/usr/local/include + cp -f ${BUILDDIR}/include/mmngr_user_public.h ${D}${RENESAS_DATADIR}/include + cp -f ${BUILDDIR}/include/mmngr_user_private.h ${D}${RENESAS_DATADIR}/include } # Append function to clean extract source @@ -43,14 +43,14 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libmmngr.so.* \ + ${RENESAS_DATADIR}/lib/libmmngr.so.* \ " FILES_${PN}-dev = " \ - /usr/local/include \ - /usr/local/include/*.h \ - /usr/local/lib \ - /usr/local/lib/libmmngr.so \ + ${RENESAS_DATADIR}/include \ + ${RENESAS_DATADIR}/include/*.h \ + ${RENESAS_DATADIR}/lib \ + ${RENESAS_DATADIR}/lib/libmmngr.so \ " RPROVIDES_${PN} += "mmngr-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb index c07945d..0f96acd 100644 --- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-tp-user-module.bb @@ -14,15 +14,15 @@ do_compile() { do_install() { # Copy kernel test program - mkdir -p ${D}/usr/local/bin/ - cp ${S}/mmbuftp ${D}/usr/local/bin/ + mkdir -p ${D}${RENESAS_DATADIR}/bin/ + cp ${S}/mmbuftp ${D}${RENESAS_DATADIR}/bin/ } PACKAGES = "\ ${PN} \ " FILES_${PN} = " \ - /usr/local/bin/mmbuftp \ + ${RENESAS_DATADIR}/bin/mmbuftp \ " RPROVIDES_${PN} += "mmngrbuf-tp-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb index d2f90e0..fb5c114 100644 --- a/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/mmngr-module/mmngrbuf-user-module.bb @@ -18,14 +18,14 @@ do_compile() { } do_install() { - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include # Copy shared library - cp -P ${S}/if/libmmngrbuf.so* ${D}/usr/local/lib/ - cd ${D}/usr/local/lib/ + cp -P ${S}/if/libmmngrbuf.so* ${D}${RENESAS_DATADIR}/lib/ + cd ${D}${RENESAS_DATADIR}/lib/ # Copy shared header files - cp -f ${BUILDDIR}/include/mmngr_buf_user_public.h ${D}/usr/local/include - cp -f ${BUILDDIR}/include/mmngr_buf_user_private.h ${D}/usr/local/include + cp -f ${BUILDDIR}/include/mmngr_buf_user_public.h ${D}${RENESAS_DATADIR}/include + cp -f ${BUILDDIR}/include/mmngr_buf_user_private.h ${D}${RENESAS_DATADIR}/include } # Append function to clean extract source @@ -45,14 +45,14 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libmmngrbuf.so.* \ + ${RENESAS_DATADIR}/lib/libmmngrbuf.so.* \ " FILES_${PN}-dev = " \ - /usr/local/include \ - /usr/local/include/*.h \ - /usr/local/lib \ - /usr/local/lib/libmmngrbuf.so \ + ${RENESAS_DATADIR}/include \ + ${RENESAS_DATADIR}/include/*.h \ + ${RENESAS_DATADIR}/lib \ + ${RENESAS_DATADIR}/lib/libmmngrbuf.so \ " RPROVIDES_${PN} += "mmngrbuf-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb b/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb index 841e4fd..635b8b7 100644 --- a/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/omx-module/omx-user-module.bb @@ -98,10 +98,10 @@ do_collect_src() { do_configure() { cd ${S}/UDF_Linux ./autogen.sh - ./configure --prefix=${D}/usr/local/ --host=arm-linux \ + ./configure --prefix=${D}${RENESAS_DATADIR}/ --host=arm-linux \ CFLAGS="-I${BUILDDIR}/include -I${KERNELDIR}/include" \ LDFLAGS="-L${LIBSHARED}" \ - OMXR_DEFAULT_CONFIG_FILE_NAME=/usr/local/config/omxr_config_base.txt + OMXR_DEFAULT_CONFIG_FILE_NAME=${RENESAS_DATADIR}/config/omxr_config_base.txt } do_compile() { @@ -111,11 +111,11 @@ do_compile() { do_install() { # Create share files - mkdir -p ${D}/usr/local/lib ${D}/usr/local/config + mkdir -p ${D}${RENESAS_DATADIR}/lib ${D}${RENESAS_DATADIR}/config cd ${S}/UDF_Linux make install - cp -rf ${S}/OMXR/config/*.txt ${D}/usr/local/config/ - cp -rf ${S}/UDF_Linux/include ${D}/usr/local/include + cp -rf ${S}/OMXR/config/*.txt ${D}${RENESAS_DATADIR}/config/ + cp -rf ${S}/UDF_Linux/include ${D}${RENESAS_DATADIR}/include cd ${S}/OMXR/lib/ @@ -262,7 +262,7 @@ do_install() { fi # Copy all the symbolic link and lib to destination - cp -Prf ${S}/OMXR/lib/* ${D}/usr/local/lib + cp -Prf ${S}/OMXR/lib/* ${D}${RENESAS_DATADIR}/lib # Copy the audio midleware # audio aacp2 midleware @@ -273,64 +273,64 @@ do_install() { ln -sf libRSACPDLA_L.so.1.1 libRSACPDLA_L.so ln -sf libRSACPDAL_L.so.1.1 libRSACPDAL_L.so.1 ln -sf libRSACPDAL_L.so.1.1 libRSACPDAL_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/RSACPD_ADL.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/RSACPD_ADL.h ${D}${RENESAS_DATADIR}/include fi if [ "X${MP3_MDW_DECODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libMP3DLA_L.so.1.4 libMP3DLA_L.so.1 ln -sf libMP3DLA_L.so.1.4 libMP3DLA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/mp3d_Lib.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/mp3d_Lib.h ${D}${RENESAS_DATADIR}/include fi if [ "X${WMA_MDW_DECODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libWMASTDLA_L.so.1.3 libWMASTDLA_L.so.1 ln -sf libWMASTDLA_L.so.1.3 libWMASTDLA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/wmastd_Lib.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/wmastd_Lib.h ${D}${RENESAS_DATADIR}/include fi if [ "X${DDD_MDW_DECODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libRSDACDLA_L.so.1.0 libRSDACDLA_L.so.1 ln -sf libRSDACDLA_L.so.1.0 libRSDACDLA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/RSDACD_ADL.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/RSDACD_ADL.h ${D}${RENESAS_DATADIR}/include fi if [ "X${ALAC_MDW_DECODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libALACDLA_L.so.1.0 libALACDLA_L.so.1 ln -sf libALACDLA_L.so.1.0 libALACDLA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/alacd_Lib.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/alacd_Lib.h ${D}${RENESAS_DATADIR}/include fi if [ "X${FLAC_MDW_DECODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libFLACDLA_L.so.1.1 libFLACDLA_L.so.1 ln -sf libFLACDLA_L.so.1.1 libFLACDLA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/flacd_Lib.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/flacd_Lib.h ${D}${RENESAS_DATADIR}/include fi if [ "X${AAC_MDW_ENCODER}" = "X1" ] ; then cd ${S}/audio_mdw ln -sf libRSAACELA_L.so.2.1 libRSAACELA_L.so.2 ln -sf libRSAACELA_L.so.2.1 libRSAACELA_L.so - cp -P ${S}/audio_mdw/*.so* ${D}/usr/local/lib/ - cp -P ${S}/audio_mdw/RSAACE_AAC.h ${D}/usr/local/include + cp -P ${S}/audio_mdw/*.so* ${D}${RENESAS_DATADIR}/lib/ + cp -P ${S}/audio_mdw/RSAACE_AAC.h ${D}${RENESAS_DATADIR}/include fi } SYSROOT_PREPROCESS_FUNCS += "do_populate_share_lib" do_populate_share_lib () { - sysroot_stage_dir ${D}/usr/local/include ${SYSROOT_DESTDIR}/usr/include - sysroot_stage_dir ${D}/usr/local/lib ${SYSROOT_DESTDIR}/usr/lib + sysroot_stage_dir ${D}${RENESAS_DATADIR}/include ${SYSROOT_DESTDIR}/usr/include + sysroot_stage_dir ${D}${RENESAS_DATADIR}/lib ${SYSROOT_DESTDIR}/usr/lib } # Append function to clean extract source @@ -373,18 +373,18 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/*.so \ - /usr/local/lib/*.so.* \ - /usr/local/config/* \ + ${RENESAS_DATADIR}/lib/*.so \ + ${RENESAS_DATADIR}/lib/*.so.* \ + ${RENESAS_DATADIR}/config/* \ " FILES_${PN}-dev = " \ - /usr/local/include/* \ + ${RENESAS_DATADIR}/include/* \ " FILES_${PN}-staticdev = " \ - /usr/local/lib/*.a \ - /usr/local/lib/*.la \ + ${RENESAS_DATADIR}/lib/*.a \ + ${RENESAS_DATADIR}/lib/*.la \ " INSANE_SKIP_${PN} += "rpaths" diff --git a/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb index 3fcc5ad..9fc34f9 100644 --- a/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-tp-user-module.bb @@ -13,9 +13,9 @@ do_compile() { do_install() { # Create shared folder - mkdir -p ${D}/usr/local/bin/ + mkdir -p ${D}${RENESAS_DATADIR}/bin/ # Copy user test program - cp ${S}/s3tp ${D}/usr/local/bin/ + cp ${S}/s3tp ${D}${RENESAS_DATADIR}/bin/ } PACKAGES = "\ @@ -25,7 +25,7 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/bin/s3tp \ + ${RENESAS_DATADIR}/bin/s3tp \ " RPROVIDES_${PN} += "s3ctl-tp-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-user-module.bb b/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-user-module.bb index ed02e0a..611e0b2 100644 --- a/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/s3ctl-module/s3ctl-user-module.bb @@ -19,12 +19,12 @@ do_compile() { do_install() { # Create shared folder - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include/ + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include/ # Copy share library - cp -P ${S}/if/libs3ctl.so* ${D}/usr/local/lib/ + cp -P ${S}/if/libs3ctl.so* ${D}${RENESAS_DATADIR}/lib/ # Copy shared header files - cp -f ${BUILDDIR}/include/s3ctl_user_public.h ${D}/usr/local/include/ - cp -f ${BUILDDIR}/include/s3ctl_user_private.h ${D}/usr/local/include/ + cp -f ${BUILDDIR}/include/s3ctl_user_public.h ${D}${RENESAS_DATADIR}/include/ + cp -f ${BUILDDIR}/include/s3ctl_user_private.h ${D}${RENESAS_DATADIR}/include/ } # Append function to clean extract source @@ -44,12 +44,12 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libs3ctl.so.* \ + ${RENESAS_DATADIR}/lib/libs3ctl.so.* \ " FILES_${PN}-dev = " \ - /usr/local/lib/libs3ctl.so \ - /usr/local/include/*.h \ + ${RENESAS_DATADIR}/lib/libs3ctl.so \ + ${RENESAS_DATADIR}/include/*.h \ " RPROVIDES_${PN} += "s3ctl-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-tp-user-module.bb b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-tp-user-module.bb index b7b97a0..d765f72 100644 --- a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-tp-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-tp-user-module.bb @@ -12,17 +12,17 @@ do_compile() { do_install() { # Create destination folder - mkdir -p ${D}/usr/local/bin/ + mkdir -p ${D}${RENESAS_DATADIR}/bin/ # Copy user test program - cp ${S}/vspm/vspm_tp ${D}/usr/local/bin/ + cp ${S}/vspm/vspm_tp ${D}${RENESAS_DATADIR}/bin/ } PACKAGES = "\ ${PN} \ " FILES_${PN} = " \ - /usr/local/bin/vspm_tp \ + ${RENESAS_DATADIR}/bin/vspm_tp \ " RPROVIDES_${PN} += "vspm-tp-user-module" diff --git a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb index 3327861..079a0d9 100644 --- a/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb +++ b/meta-rcar-gen2/recipes-multimedia/vspm-module/vspm-user-module.bb @@ -19,13 +19,13 @@ do_compile() { do_install() { # Create destination folder - mkdir -p ${D}/usr/local/lib/ ${D}/usr/local/include + mkdir -p ${D}${RENESAS_DATADIR}/lib/ ${D}${RENESAS_DATADIR}/include # Copy shared library - cp -P ${S}/vspm/if/libvspm.so* ${D}/usr/local/lib/ + cp -P ${S}/vspm/if/libvspm.so* ${D}${RENESAS_DATADIR}/lib/ # Copy shared header files - cp -f ${BUILDDIR}/include/vspm_public.h ${D}/usr/local/include - cp -f ${BUILDDIR}/include/vsp_drv.h ${D}/usr/local/include - cp -f ${BUILDDIR}/include/tddmac_drv.h ${D}/usr/local/include + cp -f ${BUILDDIR}/include/vspm_public.h ${D}${RENESAS_DATADIR}/include + cp -f ${BUILDDIR}/include/vsp_drv.h ${D}${RENESAS_DATADIR}/include + cp -f ${BUILDDIR}/include/tddmac_drv.h ${D}${RENESAS_DATADIR}/include } do_clean_source() { @@ -41,15 +41,15 @@ PACKAGES = "\ " FILES_${PN} = " \ - /usr/local/lib/libvspm.so.* \ + ${RENESAS_DATADIR}/lib/libvspm.so.* \ " FILES_${PN}-dev = " \ - /usr/local/lib \ - /usr/local/lib/libvspm.so \ - /usr/local/lib/* \ - /usr/local/include \ - /usr/local/include/*.h \ + ${RENESAS_DATADIR}/lib \ + ${RENESAS_DATADIR}/lib/libvspm.so \ + ${RENESAS_DATADIR}/lib/* \ + ${RENESAS_DATADIR}/include \ + ${RENESAS_DATADIR}/include/*.h \ " RPROVIDES_${PN} += "vspm-user-module" |