1 DESCRIPTION = "Tools and libraries to support the C64+ DSP found in TI's OMAP3 hardware."
2 HOMEPAGE="http://tkscript.de/c64_tools/"
5 PV_TAR = "15Dec2013_dist"
10 http://tkscript.de/c64_tools/c64_tools-${PV_TAR}.tar.gz \
11 file://c64_tools.rules \
12 file://op_dsp_c64.sh \
16 S = "${WORKDIR}/c64_tools"
18 TARGET_CFLAGS += "-Wall -I../include "
24 # TARGET_SHARED=libc64.so.1
25 oe_runmake -f makefile.linux clean bin
26 ln -fs libc64.so.1 libc64.so
29 oe_runmake -f makefile.linux clean bin
33 install -d ${D}${libdir}/
34 install -m 0755 ${S}/libc64/libc64.so.1 ${D}${libdir}/
35 install -d ${D}${sbindir}
36 install -m 0755 ${S}/c64_load/c64_load ${D}${sbindir}/
39 install -d ${D}${base_libdir}/dsp
40 install -m 0644 ${S}/dsp/core/core.out ${D}${base_libdir}/dsp/
42 # script, udev rule, sudoers
43 install -d ${D}${prefix}/pandora/scripts/
44 #install -m 0755 ${S}/scripts/go64.sh ${D}${prefix}/pandora/scripts/op_dsp_c64.sh
45 install -m 0755 ${WORKDIR}/op_dsp_c64.sh ${D}${prefix}/pandora/scripts/
46 install -d ${D}${base_libdir}/udev/rules.d/
47 install -m 0644 ${WORKDIR}/c64_tools.rules ${D}${base_libdir}/udev/rules.d/
48 install -d ${D}${sysconfdir}/sudoers.d/
49 install -m 440 ${WORKDIR}/99_c64_tools ${D}${sysconfdir}/sudoers.d/
52 install -d ${D}${includedir}/c64_tools/include
53 install -d ${D}${includedir}/c64_tools/dsp/libc64_dsp/include
54 install -m 0644 ${S}/include/*.h ${D}${includedir}/c64_tools/include
55 install -m 0644 dsp/libc64_dsp/include/com.h ${D}${includedir}/c64_tools/dsp/libc64_dsp/include/com.h
56 install -m 0644 ${S}/libc64/libc64.a ${D}${libdir}/
57 cp -a ${S}/libc64/libc64.so ${D}${libdir}/
61 ${base_libdir}/dsp ${prefix}/pandora/scripts \
62 ${base_libdir}/udev/rules.d ${sysconfdir}/sudoers.d/ \
65 PACKAGE_ARCH = "${MACHINE_ARCH}"
66 COMPATIBLE_MACHINE = "omap3-pandora"
68 SRC_URI[md5sum] = "e1cea6f9520a403a84ffae78be2b278d"
69 SRC_URI[sha256sum] = "2d8185938fac5359b4324021e9470507bc45ff049668a8ddc3fea910fd450d70"