meta-toolchain-dvsdk: replace with arago version
authorKoen Kooi <k-kooi@ti.com>
Wed, 3 Feb 2010 13:18:52 +0000 (14:18 +0100)
committerKoen Kooi <koen@openembedded.org>
Mon, 12 Apr 2010 17:43:16 +0000 (19:43 +0200)
Signed-off-by: Koen Kooi <k-kooi@ti.com>
12 files changed:
recipes/meta/meta-toolchain-arago-dvsdk.bb [new file with mode: 0644]
recipes/meta/meta-toolchain-arago-gst.bb [new file with mode: 0644]
recipes/meta/meta-toolchain-arago.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-dvsdk-host.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-dvsdk-target.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-gst-host.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-gst-target.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-host.bb [new file with mode: 0644]
recipes/tasks/task-arago-toolchain-target.bb [new file with mode: 0644]
recipes/ti/meta-toolchain-dvsdk.bb [deleted file]
recipes/ti/task-toolchain-dvsdk-host [deleted file]
recipes/ti/task-toolchain-dvsdk-target [deleted file]

diff --git a/recipes/meta/meta-toolchain-arago-dvsdk.bb b/recipes/meta/meta-toolchain-arago-dvsdk.bb
new file mode 100644 (file)
index 0000000..7d29f98
--- /dev/null
@@ -0,0 +1,59 @@
+TOOLCHAIN_HOST_TASK = "task-arago-toolchain-dvsdk-host"
+TOOLCHAIN_TARGET_TASK = "task-arago-toolchain-dvsdk-target"
+
+DVSDK_TARGET_EXCLUDE_dm355-evm = "\
+    ti-linuxutils \
+    ti-dm355mm-module \
+    ti-codec-combo-dm355 \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_dm365-evm = "\
+    ti-linuxutils \
+    ti-dm365mm-module \
+    ti-codec-combo-dm365 \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_dm6446-evm = "\
+    ti-linuxutils \
+    ti-dsplink-module \
+    ti-codec-combo-dm6446 \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_dm6467t-evm = "\
+    ti-dm355mm-module \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_dm6467-evm = "\
+    ti-dm355mm-module \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_omap3evm = "\
+    ti-linuxutils \
+    ti-dsplink-module \
+    ti-lpm-module \
+    ti-codec-combo-omap3530 \
+    ti-dmai-apps \
+    "
+
+DVSDK_TARGET_EXCLUDE_beagleboard = "\
+    ti-linuxutils \
+    ti-dsplink-module \
+    ti-lpm-module \
+    ti-codec-combo-omap3530 \
+    ti-dmai-apps \
+    "
+
+TOOLCHAIN_TARGET_EXCLUDE += "\
+    ${DVSDK_TARGET_EXCLUDE} \
+    "
+
+require meta-toolchain-arago.bb
+
+PR = "r10"
+
+SDK_SUFFIX = "dvsdk"
diff --git a/recipes/meta/meta-toolchain-arago-gst.bb b/recipes/meta/meta-toolchain-arago-gst.bb
new file mode 100644 (file)
index 0000000..3ce2245
--- /dev/null
@@ -0,0 +1,8 @@
+TOOLCHAIN_HOST_TASK = "task-arago-toolchain-gst-host"
+TOOLCHAIN_TARGET_TASK = "task-arago-toolchain-gst-target"
+
+require meta-toolchain-arago-dvsdk.bb
+
+PR = "r13"
+
+SDK_SUFFIX = "gst-sdk"
diff --git a/recipes/meta/meta-toolchain-arago.bb b/recipes/meta/meta-toolchain-arago.bb
new file mode 100644 (file)
index 0000000..0478e97
--- /dev/null
@@ -0,0 +1,42 @@
+PR = "r3"
+
+SDK_DISTRO = "arago"
+TOOLCHAIN_OUTPUTNAME = "${SDK_DISTRO}-${DISTRO_VERSION}-${FEED_ARCH}-${TARGET_OS}-${SDK_SUFFIX}"
+
+TOOLCHAIN_HOST_TASK ?= "task-arago-toolchain-host"
+TOOLCHAIN_TARGET_TASK ?= "task-arago-toolchain-target"
+
+TOOLCHAIN_TARGET_EXCLUDE += "\
+    libc6 \
+    libc6-dev \
+    glibc-extra-nss \
+    libgcc1 \
+    linux-libc-headers-dev \
+    libthread-db1 \
+    sln \
+    curl \
+    opkg-nogpg \
+    alsa-conf-base \
+    update-rc.d \
+    update-rc.d-dev \
+    tslib-conf \
+    pointercal \
+    sysvinit \
+    sysvinit-inittab \
+    i2c-tools \
+    mtd-utils \
+    util-linux-ng-fdisk \
+    util-linux-ng-cfdisk \
+    util-linux-ng-sfdisk \
+    util-linux-ng-mount \
+    util-linux-ng-mountall \
+    util-linux-ng-umount \
+    util-linux-ng-losetup \
+    util-linux-ng-swaponoff \
+    util-linux-ng-readprofile \
+    util-linux-ng \
+    udev-utils \
+    "
+
+require meta-toolchain.bb
+SDK_SUFFIX = "sdk"
diff --git a/recipes/tasks/task-arago-toolchain-dvsdk-host.bb b/recipes/tasks/task-arago-toolchain-dvsdk-host.bb
new file mode 100644 (file)
index 0000000..71b0fac
--- /dev/null
@@ -0,0 +1,78 @@
+DESCRIPTION = "Host packages for a standalone Arago SDK or external toolchain"
+PR = "r18"
+ALLOW_EMPTY = "1"
+
+inherit sdk
+
+PACKAGES = "${PN}"
+
+DVSDK_HOST_PACKAGE = "\
+    ti-xdctools-sdk \
+    ti-xdais-sdk \
+    ti-codecs-dm365-sdk \
+    ti-codecs-dm355-sdk \
+    ti-dm365mm-module-sdk \
+    ti-codec-engine-sdk \
+    ti-framework-components-sdk \
+    ti-linuxutils-sdk \
+    ti-dmai-sdk \
+    ti-dvsdk-demos-sdk \
+    "
+
+DVSDK_HOST_PACKAGE_dm6446-evm = "\
+    ti-codec-engine-sdk \
+    ti-codec-combo-dm6446-sdk \
+    ti-xdctools-sdk \
+    ti-dmai-sdk \
+    ti-dspbios-sdk \
+    ti-cgt6x-sdk \
+    "
+
+DVSDK_HOST_PACKAGE_dm6467-evm = "\
+    ti-codec-engine-sdk \
+    ti-codec-combo-dm6467-sdk \
+    ti-xdctools-sdk \
+    ti-dmai-sdk \
+    ti-dspbios-sdk \
+    ti-cgt6x-sdk \
+    "
+
+DVSDK_HOST_PACKAGE_dm6467t-evm = "\
+    ti-dspbios-sdk \
+    ti-dspbiosutils-sdk \
+    ti-codec-engine-sdk \
+    ti-dmai-sdk \
+    ti-dsplink-module-sdk \
+    ti-dvsdk-demos-sdk \
+    ti-edma3-lld-sdk \
+    ti-framework-components-sdk \
+    ti-linuxutils-sdk \
+    ti-codec-combo-dm6467-sdk \
+    ti-xdais-sdk \
+    ti-xdctools-sdk \
+    ti-cgt6x-sdk \
+    "
+
+DVSDK_HOST_PACKAGE_omap3evm = "\
+    ti-codec-engine-sdk \
+    ti-codec-combo-omap3530-sdk \
+    ti-xdctools-sdk \
+    ti-dmai-sdk \
+    ti-dspbios-sdk \
+    ti-cgt6x-sdk \
+    "
+
+DVSDK_HOST_PACKAGE_beagleboard = "\
+    ti-codec-engine-sdk \
+    ti-codec-combo-omap3530-sdk \
+    ti-xdctools-sdk \
+    ti-dmai-sdk \
+    ti-dspbios-sdk \
+    ti-cgt6x-sdk \
+    "
+
+RDEPENDS_${PN} = "\
+    task-arago-toolchain-host \
+    ${DVSDK_HOST_PACKAGE} \
+    ti-legacy-dvsdk \
+    "
diff --git a/recipes/tasks/task-arago-toolchain-dvsdk-target.bb b/recipes/tasks/task-arago-toolchain-dvsdk-target.bb
new file mode 100644 (file)
index 0000000..c143255
--- /dev/null
@@ -0,0 +1,15 @@
+DESCRIPTION = "Target packages for a standalone Arago SDK or external toolchain"
+ALLOW_EMPTY = "1"
+PR = "r18"
+
+PACKAGES = "${PN}"
+
+# Stuff contained in this SDK is largely taken from task-sdk-base.bb.
+# This is a starting point, and nothing more at present -- please fill
+# this out with a reasonable set of development tools for a Arago image.
+# Also feel free to remove stuff that's silly.
+
+RDEPENDS_${PN} = "\
+    task-arago-toolchain-target \
+#    kernel-source \
+    "
diff --git a/recipes/tasks/task-arago-toolchain-gst-host.bb b/recipes/tasks/task-arago-toolchain-gst-host.bb
new file mode 100644 (file)
index 0000000..5bb5531
--- /dev/null
@@ -0,0 +1,11 @@
+DESCRIPTION = "Host packages for a standalone Arago SDK or external toolchain"
+PR = "r15"
+ALLOW_EMPTY = "1"
+
+inherit sdk
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "\
+    task-arago-toolchain-dvsdk-host \
+    "
diff --git a/recipes/tasks/task-arago-toolchain-gst-target.bb b/recipes/tasks/task-arago-toolchain-gst-target.bb
new file mode 100644 (file)
index 0000000..3c6c2b9
--- /dev/null
@@ -0,0 +1,16 @@
+DESCRIPTION = "Target packages for a standalone Arago SDK or external toolchain"
+ALLOW_EMPTY = "1"
+PR = "r24"
+
+PACKAGES = "${PN}"
+
+# Stuff contained in this SDK is largely taken from task-sdk-base.bb.
+# This is a starting point, and nothing more at present -- please fill
+# this out with a reasonable set of development tools for a Arago image.
+# Also feel free to remove stuff that's silly.
+
+RDEPENDS_${PN} = "\
+    task-arago-toolchain-dvsdk-target \
+    gstreamer-dev \
+    gstreamer-ti-dev \
+    "
diff --git a/recipes/tasks/task-arago-toolchain-host.bb b/recipes/tasks/task-arago-toolchain-host.bb
new file mode 100644 (file)
index 0000000..ec944b6
--- /dev/null
@@ -0,0 +1,13 @@
+DESCRIPTION = "Host packages for a standalone Arago SDK or external toolchain"
+PR = "r3"
+ALLOW_EMPTY = "1"
+
+inherit sdk
+
+PACKAGES = "${PN}"
+
+RDEPENDS_${PN} = "\
+    pkgconfig-sdk \
+    opkg-sdk \
+    libtool-sdk \
+    "
diff --git a/recipes/tasks/task-arago-toolchain-target.bb b/recipes/tasks/task-arago-toolchain-target.bb
new file mode 100644 (file)
index 0000000..e22ac2b
--- /dev/null
@@ -0,0 +1,35 @@
+DESCRIPTION = "Target packages for a standalone Arago SDK or external toolchain"
+ALLOW_EMPTY = "1"
+PR = "r2"
+
+PACKAGES = "${PN}"
+
+# Stuff contained in this SDK is largely taken from task-sdk-base.bb.
+# This is a starting point, and nothing more at present -- please fill
+# this out with a reasonable set of development tools for a Arago image.
+# Also feel free to remove stuff that's silly.
+
+RDEPENDS_${PN} = "\
+    alsa-dev \
+    alsa-lib-dev \
+    alsa-utils-dev \
+    curl-dev \
+    e2fsprogs-libs-dev \
+    i2c-tools-dev \
+    freetype-dev \
+    jpeg-dev \
+    lzo-dev \
+    libopkg-dev \
+    libpng-dev \
+    libpng12-dev \
+    readline-dev \
+    libts-dev \
+    libusb-compat-dev \
+    libusb1-dev \
+    libvolume-id-dev \
+    zlib-dev \
+    mtd-utils-dev \
+    ncurses-dev \
+    opkg-nogpg-dev \
+    sysvinit-dev \
+    "
diff --git a/recipes/ti/meta-toolchain-dvsdk.bb b/recipes/ti/meta-toolchain-dvsdk.bb
deleted file mode 100644 (file)
index 77e04aa..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-PR = "r10"
-
-TOOLCHAIN_HOST_TASK = "task-toolchain-dvsdk-host"
-TOOLCHAIN_TARGET_TASK = "task-toolchain-dvsdk-target"
-
-require ../meta/meta-toolchain-arago.bb
-require ti-paths.inc
-
-# If we start including kernels we should change SOC_FAMILY to MACHINE_ARCH
-SDK_SUFFIX = "toolchain-dvsdk-${SOC_FAMILY}-${BUILD_ARCH}"
-
-DVSDK_TARGET_EXCLUDE_dm355 = "\
-    ti-linuxutils \
-    ti-dm355mm-module \
-    ti-codec-combo-dm355 \
-    ti-dmai-apps \
-    "
-
-DVSDK_TARGET_EXCLUDE_dm365 = "\
-    ti-linuxutils \
-    ti-dm365mm-module \
-    ti-codec-combo-dm365 \
-    ti-dmai-apps \
-    "
-
-DVSDK_TARGET_EXCLUDE_dm6446 = "\
-    ti-linuxutils \
-    ti-dsplink-module \
-    ti-codec-combo-dm6446 \
-    ti-dmai-apps \
-    "
-
-DVSDK_TARGET_EXCLUDE_dm6467 = "\
-    ti-dm355mm-module \
-    ti-dmai-apps \
-    "
-
-
-DVSDK_TARGET_EXCLUDE_omap3 = "\
-    ti-linuxutils \
-    ti-dsplink-module \
-    ti-lpm-module \
-    ti-codec-combo-omap3530 \
-    ti-dmai-apps \
-    "
-
-TOOLCHAIN_TARGET_EXCLUDE += "\
-    ${DVSDK_TARGET_EXCLUDE} \
-    "
-
-# Need to sed s/staging/sdksysroot/g
-do_populate_sdk_append() {
-       script = "${SDK_OUTPUT}/${SDKPATH}/environment-setup"
-       touch $script
-       echo 'export CODEC_INSTALL_DIR=${CODEC_INSTALL_DIR}' >> $script
-       echo 'export CODEGEN_INSTALL_DIR=${CODEGEN_INSTALL_DIR}' >> $script
-       echo 'export XDC_INSTALL_DIR=${XDC_INSTALL_DIR}' >> $script
-       echo 'export XDAIS_INSTALL_DIR=${XDAIS_INSTALL_DIR}' >> $script
-       echo 'export BIOS_INSTALL_DIR=${BIOS_INSTALL_DIR}' >> $script
-       echo 'export BIOSUTILS_INSTALL_DIR=${BIOSUTILS_INSTALL_DIR}' >> $script
-       echo 'export FC_INSTALL_DIR=${FC_INSTALL_DIR}' >> $script
-       echo 'export CE_INSTALL_DIR=${CE_INSTALL_DIR}' >> $script
-       echo 'export EDMA3_LLD_INSTALL_DIR=${EDMA3_LLD_INSTALL_DIR}' >> $script
-       echo 'export LINUXUTILS_INSTALL_DIR=${LINUXUTILS_INSTALL_DIR}' >> $script
-       echo 'export CMEM_INSTALL_DIR=${CMEM_INSTALL_DIR}' >> $script
-       echo 'export LINK_INSTALL_DIR=${LINK_INSTALL_DIR}' >> $script
-       echo 'export LPM_INSTALL_DIR=${LPM_INSTALL_DIR}' >> $script
-       echo 'export DMAI_INSTALL_DIR=${DMAI_INSTALL_DIR}' >> $script
-
-       # Repack SDK with new environment-setup
-       cd ${SDK_OUTPUT}
-       fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
-}
-
diff --git a/recipes/ti/task-toolchain-dvsdk-host b/recipes/ti/task-toolchain-dvsdk-host
deleted file mode 100644 (file)
index a4e91cc..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-require ../tasks/task-sdk-host.bb
-
-PR = "r2"
-
-DESCRIPTION = "Host packages for  TI DVSDK"
-LICENSE = "MIT"
-ALLOW_EMPTY = "1"
-
-RDEPENDS_${PN} += ""
diff --git a/recipes/ti/task-toolchain-dvsdk-target b/recipes/ti/task-toolchain-dvsdk-target
deleted file mode 100644 (file)
index 3b1eedb..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "Target packages for TI DVSDK"
-LICENSE = "MIT"
-ALLOW_EMPTY = "1"
-
-PR = "r1"
-
-RDEPENDS_${PN} += " \
-        task-sdk-bare \
-        gstreamer-ti-dev \
-        ti-biosutils-sdk \
-        ti-cgt6x-sdk \
-        ti-codec-engine-sdk \
-        ti-dmai-sdk \
-        ti-dspbios-sdk \
-        ti-dsplink-module-sdk \
-        ti-framework-components-sdk \
-        ti-linuxutils-sdk \
-        ti-xdais-sdk \
-        ti-xdctools-sdk \
-        "
-