summaryrefslogtreecommitdiff
path: root/recipes/dvsdk/ti-rules-make-sdk.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-08-26 11:34:23 +0200
committerKoen Kooi <koen@openembedded.org>2009-08-26 11:34:23 +0200
commitbac5eef9c8a73672ee114926011addabb36610eb (patch)
treefbfc79e876b7e18a0871099a909035d50303e58c /recipes/dvsdk/ti-rules-make-sdk.bb
parentaf56cd467bcc76f5499199fb1f14252abe1e1e2a (diff)
dvsdk: merge in new versions from arago and clean them up a bit
Diffstat (limited to 'recipes/dvsdk/ti-rules-make-sdk.bb')
-rw-r--r--recipes/dvsdk/ti-rules-make-sdk.bb63
1 files changed, 0 insertions, 63 deletions
diff --git a/recipes/dvsdk/ti-rules-make-sdk.bb b/recipes/dvsdk/ti-rules-make-sdk.bb
deleted file mode 100644
index e1890bf606..0000000000
--- a/recipes/dvsdk/ti-rules-make-sdk.bb
+++ /dev/null
@@ -1,63 +0,0 @@
-DESCRIPTION = "This package creates Rules.make file and copies top label Makefile for rebuilding dvsdk components."
-
-inherit sdk
-
-PR="r7"
-
-FILES=${@os.path.dirname(bb.data.getVar('FILE',d,1))}/files/dvsdk-rules
-
-DEPENDS_dm355-evm = "ti-xdctools-sdk ti-codec-engine-sdk ti-codec-combo-dm355-sdk ti-dmai-sdk"
-DEPENDS_dm6446-evm = "ti-xdctools-sdk ti-codec-engine-sdk ti-codec-combo-dm6446-sdk ti-dmai-sdk ti-cgt6x-sdk ti-dspbios-sdk"
-DEPENDS_omap3evm = "ti-xdctools-sdk ti-codec-engine-sdk ti-codec-combo-omap3530-sdk ti-dmai-sdk ti-cgt6x-sdk ti-dspbios-sdk"
-DEPENDS_beagleboard = "ti-xdctools-sdk ti-codec-engine-sdk ti-codec-combo-omap3530-sdk ti-dmai-sdk ti-cgt6x-sdk ti-dspbios-sdk"
-
-
-PLATFORM_dm355-evm = "dm355"
-PLATFORM_dm6446-evm = "dm6446"
-PLATFORM_omap3evm = "omap3530"
-PLATFORM_dm6467-evm = "dm6467"
-PLATFORM_beagleboard = "omap3530"
-
-do_install () {
- mkdir -p ${D}/${prefix}/dvsdk/
-
- # Create Rules.make file by concatinating pkg Rules.make files.
- echo "# Define target platform." > ${D}/${prefix}/dvsdk/Rules.make
- echo "PLATFORM=${PLATFORM}" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "# The installation directory of the DVSDK." >> ${D}/${prefix}/dvsdk/Rules.make
- echo "DVSDK_INSTALL_DIR=${prefix}/dvsdk" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "# For backwards compatibility" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "DVEVM_INSTALL_DIR=\$(DVSDK_INSTALL_DIR)" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
-
- for file in `ls -1 ${STAGING_DIR_HOST}/ti-sdk-rules` ; do
- cat ${STAGING_DIR_HOST}/ti-sdk-rules/${file} >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- done
-
- echo "# The directory that points to your kernel source directory." >> ${D}/${prefix}/dvsdk/Rules.make
- echo "LINUXKERNEL_INSTALL_DIR=${prefix}/${TARGET_SYS}/usr/src/kernel" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "# Where temporary Linux headers and libs are installed." >> ${D}/${prefix}/dvsdk/Rules.make
- echo "LINUXLIBS_INSTALL_DIR=${prefix}/${TARGET_SYS}/usr" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "# The prefix to be added before the GNU compiler tools (optionally including # path), i.e. \"arm_v5t_le-\" or \"/opt/bin/arm_v5t_le-\"." >> ${D}/${prefix}/dvsdk/Rules.make
- echo "CSTOOL_DIR=${SDK_PATH}" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "CSTOOL_PREFIX=\$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "MVTOOL_DIR=\$(CSTOOL_DIR)" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "MVTOOL_PREFIX=\$(CSTOOL_PREFIX)" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "# Where to copy the resulting executables" >> ${D}/${prefix}/dvsdk/Rules.make
- echo "EXEC_DIR=\$(HOME)/install/\$(PLATFORM)" >> ${D}/${prefix}/dvsdk/Rules.make
-
- # copy Makefile and other scripts needed by Makefile
- mkdir -p ${D}/${prefix}/dvsdk/bin
- cp ${FILES}/Makefile ${D}/${prefix}/dvsdk/
- cp ${FILES}/info.sh ${D}/${prefix}/dvsdk/bin
- cp ${FILES}/check.sh ${D}/${prefix}/dvsdk/bin
-}
-
-FILES_${PN} = "${prefix}/dvsdk/*"