From 9d1651d8477273a9e9bef50e67d7444784eddf19 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Fri, 8 Aug 2008 16:55:12 +0000 Subject: dsplink, codec-engine: put common paths in a .inc file so more recipes can share them --- packages/dsplink/codec-engine_2.10.bb | 8 +------- packages/dsplink/dsplink.inc | 7 +------ packages/dsplink/ti-paths.inc | 8 ++++++++ 3 files changed, 10 insertions(+), 13 deletions(-) create mode 100644 packages/dsplink/ti-paths.inc (limited to 'packages') diff --git a/packages/dsplink/codec-engine_2.10.bb b/packages/dsplink/codec-engine_2.10.bb index 0e85d38a82..098d0054cd 100644 --- a/packages/dsplink/codec-engine_2.10.bb +++ b/packages/dsplink/codec-engine_2.10.bb @@ -18,13 +18,7 @@ SRC_URI = "http://install.tarball.in.source.dir/codec_engine_2_10_01.tar.gz \ S = "${WORKDIR}/codec_engine_2_10_01" -# Path to the dir where the TI tools are unpacked -TITOOLSDIR ?= "/OE/TI" -# Path under TITOOLSDIR where dspbios is unpacked -TIBIOSDIR ?= "bios_5_32_03" -TIXDCTOOLSDIR ?= "${TIBIOSDIR}/xdctools" -# Path under TITOOLSDIR where the dsp toolchain is unpacked -TICGTOOLSDIR ?= "cg6x_6_1_2" +require ti-paths.inc PARALLEL_MAKE = "" diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc index 2347068379..f303b6e53f 100644 --- a/packages/dsplink/dsplink.inc +++ b/packages/dsplink/dsplink.inc @@ -11,12 +11,7 @@ S = "${WORKDIR}/dsplink_1_50/dsplink" # Needed for buildscripts export DSPLINK = "${S}" -# Path to the dir where the TI tools are unpacked -TITOOLSDIR ?= "/OE/TI" -# Path under TITOOLSDIR where dspbios is unpacked -TIBIOSDIR ?= "bios_5_32_03" -# Path under TITOOLSDIR where the dsp toolchain is unpacked -TICGTOOLSDIR ?= "cg6x_6_1_2" +require ti-paths.inc DSPLINKPLATFORM ?= "Davinci" diff --git a/packages/dsplink/ti-paths.inc b/packages/dsplink/ti-paths.inc new file mode 100644 index 0000000000..83cbe683c0 --- /dev/null +++ b/packages/dsplink/ti-paths.inc @@ -0,0 +1,8 @@ +# Path to the dir where the TI tools are unpacked +TITOOLSDIR ?= "/OE/TI" +# Path under TITOOLSDIR where dspbios is unpacked +TIBIOSDIR ?= "bios_5_32_03" +TIXDCTOOLSDIR ?= "${TIBIOSDIR}/xdctools" +# Path under TITOOLSDIR where the dsp toolchain is unpacked +TICGTOOLSDIR ?= "cg6x_6_1_2" + -- cgit v1.2.3