diff options
author | Koen Kooi <koen@openembedded.org> | 2008-05-15 18:45:44 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-05-15 18:45:44 +0000 |
commit | d157d168cebd735347bef6a4f921565cdadd17d7 (patch) | |
tree | 80c6889643527fda091d14c4920b098bc0ce28fa /packages | |
parent | 3f7b97b5cb3650e3559748f10c6de64b24af07f4 (diff) |
dsplink: get first part to build, need to sort out more includes, since someone though it would be a good idea to (not) pass includes using gcc instead of using #include <foo> in the source file
Diffstat (limited to 'packages')
-rw-r--r-- | packages/dsplink/dsplink_1.50.bb | 12 | ||||
-rw-r--r-- | packages/dsplink/files/davinci_mvlpro5.0.mk | 2 | ||||
-rw-r--r-- | packages/dsplink/files/prcs-fix-include.patch | 10 |
3 files changed, 20 insertions, 4 deletions
diff --git a/packages/dsplink/dsplink_1.50.bb b/packages/dsplink/dsplink_1.50.bb index 1c5b2676b2..7051966ffc 100644 --- a/packages/dsplink/dsplink_1.50.bb +++ b/packages/dsplink/dsplink_1.50.bb @@ -1,6 +1,6 @@ DESCRIPTION = "DSP Link for TI ARM/DSP processors" -DEPENDS = "virtual/kernel" +DEPENDS = "virtual/kernel perl-native" inherit module-base @@ -13,7 +13,8 @@ PR = "r0" SRC_URI = "http://install.tarball.in.source.dir/dsplink_1_50.tar.gz \ file://CURRENTCFG.MK \ file://c64xx_5.xx_linux.mk \ - file://davinci_mvlpro5.0.mk \ + file://davinci_mvlpro5.0.mk \ + file://prcs-fix-include.patch;patch=1 \ " S = "${WORKDIR}/dsplink_1_50/dsplink" @@ -36,12 +37,17 @@ do_configure () { sed -i -e s:SED_ME_CROSS:${STAGING_INCDIR}:g \ -e s:SED_ME_STAGINGDIR:${STAGING_DIR_TARGET}:g \ -e s:SED_ME_TARGET_PREFIX:${TARGET_PREFIX}:g \ + -e s:SED_ME_KERNELDIR:${STAGING_KERNEL_DIR}:g \ ${S}/make/Linux/davinci_mvlpro5.0.mk } +PARALLEL_MAKE = "" + do_compile () { - make -C ${S}/gpp/src + ln -sf ${S}/gpp/src/api/*h ${S}/gpp/inc/ + ln -sf ${S}/gpp/src/pmgr/Linux/2.6.18 ${S}/gpp/src/pmgr/Linux/2.6.26-rc2-omap1 + oe_runmake -C ${S}/gpp/src } PACKAGE_ARCH = "${MACHINE_ARCH}" diff --git a/packages/dsplink/files/davinci_mvlpro5.0.mk b/packages/dsplink/files/davinci_mvlpro5.0.mk index b90045e547..2ea2fd8915 100644 --- a/packages/dsplink/files/davinci_mvlpro5.0.mk +++ b/packages/dsplink/files/davinci_mvlpro5.0.mk @@ -35,7 +35,7 @@ USE_DISTRIBUTION := 1 # ---------------------------------------------------------------------------- # Base directory for the GPP OS # ---------------------------------------------------------------------------- -BASE_BUILDOS := ${HOME}/montavista/kernel/Linux +BASE_BUILDOS := SED_ME_KERNELDIR # ---------------------------------------------------------------------------- # Base for code generation tools - compiler, linker, archiver etc. diff --git a/packages/dsplink/files/prcs-fix-include.patch b/packages/dsplink/files/prcs-fix-include.patch new file mode 100644 index 0000000000..12fcd5ec5d --- /dev/null +++ b/packages/dsplink/files/prcs-fix-include.patch @@ -0,0 +1,10 @@ +--- /tmp/prcs.c 2008-05-15 20:35:49.946802023 +0200 ++++ dsplink_1_50/dsplink/gpp/src/osal/Linux/prcs.c 2008-05-15 20:36:01.386858569 +0200 +@@ -17,6 +17,7 @@ + + /* ----------------------------------- OS Specific Headers */ + #include <linux/autoconf.h> ++#include <linux/sched.h> + #include <linux/spinlock.h> + #include <linux/module.h> + #include <linux/mm.h> |