diff options
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.bb | 50 |
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" | |||
22 | LTPROOT = "/opt/ltp" | 22 | LTPROOT = "/opt/ltp" |
23 | 23 | ||
24 | EXTRA_OEMAKE_append = " \ | 24 | EXTRA_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 | ||
35 | TARGET_CC_ARCH += "${LDFLAGS}" | 35 | TARGET_CC_ARCH += "${LDFLAGS}" |
36 | 36 | ||
37 | FILES_${PN}-dbg += " \ | 37 | FILES_${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 | ||
49 | FILES_${PN} += "${LTPROOT}/*" | 49 | FILES_${PN} += "${LTPROOT}/*" |
50 | 50 | ||
51 | do_configure() { | 51 | do_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 | ||
58 | do_install() { | 58 | do_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 | } |