diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-11 13:05:19 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-11 13:05:19 +0100 |
commit | 9b210063ed0457faadc3f6c9fc1dc482721f48c6 (patch) | |
tree | ba5d1feb82b7e5f28e4d7d22bb01f37b47f511df | |
parent | 419ef2b29286bb5171b05dc9b34ecebb23981445 (diff) |
dsplink: use KBUILD infrastructure
-rw-r--r-- | packages/dsplink/dsplink.inc | 6 | ||||
-rwxr-xr-x | packages/dsplink/files/Makefile.dsplink | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/packages/dsplink/dsplink.inc b/packages/dsplink/dsplink.inc index bae948c2fd..43b72c6137 100644 --- a/packages/dsplink/dsplink.inc +++ b/packages/dsplink/dsplink.inc @@ -52,10 +52,6 @@ do_compile () { export ARCHIVER_AR=${TARGET_PREFIX}ar export BASE_SABIOS=${DSP_BASE_BIOS} - make -e -f ${WORKDIR}/Makefile.dsplink -} - -dsplink-kbuild-compile() { mkdir -p ${S}/dsplink-kbuild-test cp ${WORKDIR}/Makefile-dsplink-kbuild ${S}/dsplink-kbuild-test/Makefile cd ${S}/dsplink-kbuild-test/ @@ -68,6 +64,8 @@ dsplink-kbuild-compile() { AR="${KERNEL_AR}" \ V=1 ${MAKE_TARGETS} + make -e -f ${WORKDIR}/Makefile.dsplink + } do_install () { diff --git a/packages/dsplink/files/Makefile.dsplink b/packages/dsplink/files/Makefile.dsplink index fdb8b42b02..f3228dd9e7 100755 --- a/packages/dsplink/files/Makefile.dsplink +++ b/packages/dsplink/files/Makefile.dsplink @@ -45,7 +45,7 @@ all: $(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/d $(LINK_INSTALL_DIR)/packages/dsplink/gpp/export/BIN/Linux/Davinci/RELEASE/dsplinkk.ko: @echo Building DSPLINK GPP driver, libs - make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) + #make -s -C $(LINK_INSTALL_DIR)/gpp/src $(GPP_MAKE_OPTS) make -s -C $(DSPLINK)/gpp/src/samples $(GPP_MAKE_OPTS) @echo Building DSPLINK DSP libs and message sample for DaVinci... make -C $(DSPLINK)/dsp/src $(DSP_MAKE_OPTS) |