diff options
author | Koen Kooi <koen@openembedded.org> | 2008-07-11 12:37:31 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-07-11 12:37:31 +0000 |
commit | 332e03a0d9f17b0062bb582f0e676233127ed0c5 (patch) | |
tree | f25048a9a995fe65d2e6265fc05dcf6d1b885b3e /packages/dsplink/dsplink.inc | |
parent | 42145b3bf92b73216275e3c471af4d3462267b76 (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/dsplink.inc')
-rw-r--r-- | packages/dsplink/dsplink.inc | 7 |
1 files changed, 5 insertions, 2 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 } |