summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb')
-rw-r--r--meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb50
1 files changed, 25 insertions, 25 deletions
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
index 4b8ff985c..e721e7e6c 100644
--- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
+++ b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
@@ -22,42 +22,42 @@ S = "${WORKDIR}/git"
22LTPROOT = "/opt/ltp" 22LTPROOT = "/opt/ltp"
23 23
24EXTRA_OEMAKE_append = " \ 24EXTRA_OEMAKE_append = " \
25 prefix=${LTPROOT} \ 25 prefix=${LTPROOT} \
26 CROSS_COMPILE=${HOST_PREFIX} \ 26 CROSS_COMPILE=${HOST_PREFIX} \
27 SKIP_IDCHECK=1 \ 27 SKIP_IDCHECK=1 \
28 KERNEL_INC=${STAGING_KERNEL_DIR}/include \ 28 KERNEL_INC=${STAGING_KERNEL_DIR}/include \
29 KERNEL_USR_INC=${STAGING_INCDIR} \ 29 KERNEL_USR_INC=${STAGING_INCDIR} \
30 ALSA_INCPATH=${STAGING_INCDIR} \ 30 ALSA_INCPATH=${STAGING_INCDIR} \
31 ALSA_LIBPATH=${STAGING_LIBDIR} \ 31 ALSA_LIBPATH=${STAGING_LIBDIR} \
32 PLATFORM=${MACHINE} \ 32 PLATFORM=${MACHINE} \
33" 33"
34 34
35TARGET_CC_ARCH += "${LDFLAGS}" 35TARGET_CC_ARCH += "${LDFLAGS}"
36 36
37FILES_${PN}-dbg += " \ 37FILES_${PN}-dbg += " \
38 ${LTPROOT}/.debug \ 38 ${LTPROOT}/.debug \
39 ${LTPROOT}/bin/.debug \ 39 ${LTPROOT}/bin/.debug \
40 ${LTPROOT}/runtest/.debug \ 40 ${LTPROOT}/runtest/.debug \
41 ${LTPROOT}/testcases/bin/.debug \ 41 ${LTPROOT}/testcases/bin/.debug \
42 ${LTPROOT}/testcases/bin/*/bin/.debug \ 42 ${LTPROOT}/testcases/bin/*/bin/.debug \
43 ${LTPROOT}/testcases/bin/*/test/.debug \ 43 ${LTPROOT}/testcases/bin/*/test/.debug \
44 ${LTPROOT}/testcases/bin/ddt/.debug \ 44 ${LTPROOT}/testcases/bin/ddt/.debug \
45 ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \ 45 ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
46 ${LTPROOT}/testcases/bin/ddt/*/test/.debug \ 46 ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
47" 47"
48 48
49FILES_${PN} += "${LTPROOT}/*" 49FILES_${PN} += "${LTPROOT}/*"
50 50
51do_configure() { 51do_configure() {
52 cp ${S}/include/config.h.default ${S}/include/config.h 52 cp ${S}/include/config.h.default ${S}/include/config.h
53 cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk 53 cp ${S}/include/mk/config.mk.default ${S}/include/mk/config.mk
54 cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk 54 cp ${S}/include/mk/features.mk.default ${S}/include/mk/features.mk
55 echo "${TAG}" > ${S}/ChangeLog 55 echo "${TAG}" > ${S}/ChangeLog
56} 56}
57 57
58do_install() { 58do_install() {
59 oe_runmake DESTDIR=${D} install 59 oe_runmake DESTDIR=${D} install
60 install -d ${D}${datadir} 60 install -d ${D}${datadir}
61 cp -a ${D}${LTPROOT}/share/* ${D}${datadir} 61 cp -a ${D}${LTPROOT}/share/* ${D}${datadir}
62 rm -rf ${D}${LTPROOT}/share/ 62 rm -rf ${D}${LTPROOT}/share/
63} 63}