summaryrefslogtreecommitdiff
path: root/packages/dsplink
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-11 12:37:31 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-11 12:37:31 +0000
commit332e03a0d9f17b0062bb582f0e676233127ed0c5 (patch)
treef25048a9a995fe65d2e6265fc05dcf6d1b885b3e /packages/dsplink
parent42145b3bf92b73216275e3c471af4d3462267b76 (diff)
dsplink: use some more sed magic to get the kernel part to use the kernel gcc and the userspace part the userspace gcc
Diffstat (limited to 'packages/dsplink')
-rw-r--r--packages/dsplink/dsplink.inc7
-rw-r--r--packages/dsplink/dsplink_1.50.bb2
-rw-r--r--packages/dsplink/dsplink_1.51.00.08.bb2
3 files changed, 7 insertions, 4 deletions
diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc
index f528271c2f..94489ee6ca 100644
--- a/packages/dsplink/dsplink.inc
+++ b/packages/dsplink/dsplink.inc
@@ -86,8 +86,11 @@ do_compile () {
ln -sf ${S}/gpp/src/pmgr/pmgr_proc.h ${S}/gpp/inc/pmgr_proc.h
unset DISPLAY
-
- oe_runmake -C ${S}/gpp/src all targets
+
+ sed -i -e 's:gcc:gcc${KERNEL_CCSUFFIX}:' ${S}/make/Linux/openembedded.mk
+ oe_runmake CC="${KERNEL_CC}" LD="${KERNEL_LD}" -C ${S}/gpp/src all targets
+
+ sed -i -e 's:gcc${KERNEL_CCSUFFIX}:gcc:' ${S}/make/Linux/openembedded.mk
oe_runmake -C ${S}/gpp/src/samples
}
diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb
index 5aaeaad0f7..561d26fd6b 100644
--- a/packages/dsplink/dsplink_1.50.bb
+++ b/packages/dsplink/dsplink_1.50.bb
@@ -1,6 +1,6 @@
require dsplink.inc
-PR = "r6"
+PR = "r7"
PE = "1"
PV = "1.50"
diff --git a/packages/dsplink/dsplink_1.51.00.08.bb b/packages/dsplink/dsplink_1.51.00.08.bb
index 928f03204f..7fa2c34558 100644
--- a/packages/dsplink/dsplink_1.51.00.08.bb
+++ b/packages/dsplink/dsplink_1.51.00.08.bb
@@ -1,6 +1,6 @@
require dsplink.inc
-PR = "r6"
+PR = "r7"
PE = "1"
PV = "1.51"