diff options
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20140115.bb')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20140115.bb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20140115.bb b/meta/recipes-extended/ltp/ltp_20140115.bb index 4e20f24cce..2ab1d50a3e 100644 --- a/meta/recipes-extended/ltp/ltp_20140115.bb +++ b/meta/recipes-extended/ltp/ltp_20140115.bb | |||
@@ -25,6 +25,7 @@ SRCREV = "c8b3e28097e7d3208df9daceaf92c25eae87ebf0" | |||
25 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ | 25 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ |
26 | file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \ | 26 | file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \ |
27 | file://regen-makefile.patch \ | 27 | file://regen-makefile.patch \ |
28 | file://ffsb-remove-hardcoded-configure.patch \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | S = "${WORKDIR}/git" | 31 | S = "${WORKDIR}/git" |
@@ -36,6 +37,12 @@ TARGET_CC_ARCH += "${LDFLAGS}" | |||
36 | export prefix = "/opt/ltp" | 37 | export prefix = "/opt/ltp" |
37 | export exec_prefix = "/opt/ltp" | 38 | export exec_prefix = "/opt/ltp" |
38 | 39 | ||
40 | # ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call. | ||
41 | # we explicitly force regeneration of that directory and pass configure options. | ||
42 | do_configure_prepend() { | ||
43 | (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS}) | ||
44 | } | ||
45 | |||
39 | do_install(){ | 46 | do_install(){ |
40 | install -d ${D}/opt/ltp/ | 47 | install -d ${D}/opt/ltp/ |
41 | oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install | 48 | oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install |