summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/ltp-ddt
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2017-04-27 11:04:51 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-08-31 10:18:33 +0200
commitec9e5ed06256ad92c818474cdb490dc0d3a0d0a3 (patch)
treee16d2a838f4561d5538928a58f805e5f1373225a /meta-oe/recipes-devtools/ltp-ddt
parent6775acb048dabd624c5c8197b683aba45ed91569 (diff)
downloadmeta-openembedded-ec9e5ed06256ad92c818474cdb490dc0d3a0d0a3.tar.gz
recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long time and nobody showed any interest to fix them * remove all unused .patch and .inc files as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/ltp-ddt')
-rw-r--r--meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/ltp-Do-not-link-against-libfl.patch31
-rw-r--r--meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb97
2 files changed, 0 insertions, 128 deletions
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/ltp-Do-not-link-against-libfl.patch b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/ltp-Do-not-link-against-libfl.patch
deleted file mode 100644
index 3e4aa7308..000000000
--- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt/ltp-Do-not-link-against-libfl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 5bda9c0af56869c6ff2c25d38ea087179c946bc6 Mon Sep 17 00:00:00 2001
2From: Chong Lu <Chong.Lu@windriver.com>
3Date: Tue, 11 Mar 2014 14:47:22 +0800
4Subject: [PATCH] ltp: Don't link against libfl
5
6We have already defined yywrap function in scan.l file. After this, we no longer need to
7link against libfl and so no longer get errors about undefined references to yylex.
8
9Upstream-status: Pending
10
11Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
12---
13 pan/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/pan/Makefile b/pan/Makefile
17index 4cc6466..a4b575b 100644
18--- a/pan/Makefile
19+++ b/pan/Makefile
20@@ -31,7 +31,7 @@ CPPFLAGS += -Wno-error
21
22 CPPFLAGS += -I$(abs_srcdir)
23
24-LDLIBS += -lm $(LEXLIB)
25+LDLIBS += -lm
26
27 LFLAGS += -l
28
29--
301.7.9.5
31
diff --git a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb b/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
deleted file mode 100644
index b13bd7bcc..000000000
--- a/meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_1.0.0.bb
+++ /dev/null
@@ -1,97 +0,0 @@
1SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
2HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
3SECTION = "console/utils"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
6
7PROVIDES += "ltp"
8DEPENDS += "zip-native virtual/kernel alsa-lib"
9
10RDEPENDS_${PN} += "pm-qa serialcheck"
11
12inherit autotools module-base kernel-module-split
13
14PACKAGE_ARCH = "${MACHINE_ARCH}"
15
16SRCREV = "f086bed6cc88bf102eaad0e96cb7ebe79944a8ad"
17BRANCH ?= "master"
18
19SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
20 file://ltp-Do-not-link-against-libfl.patch \
21"
22
23S = "${WORKDIR}/git"
24
25LTPROOT = "/opt/ltp"
26
27EXTRA_OEMAKE_append = " \
28 prefix=${LTPROOT} \
29 CROSS_COMPILE=${HOST_PREFIX} \
30 SKIP_IDCHECK=1 \
31 KERNEL_PATH=${STAGING_KERNEL_DIR} \
32 KERNEL_INC=${STAGING_KERNEL_DIR} \
33 KERNEL_USR_INC=${STAGING_INCDIR} \
34 ALSA_INCPATH=${STAGING_INCDIR} \
35 ALSA_LIBPATH=${STAGING_LIBDIR} \
36 PLATFORM=${MACHINE} \
37 RANLIB=${RANLIB} \
38 DESTDIR=${D} \
39 CC='${CC}' \
40 KERNEL_CC='${KERNEL_CC}' \
41"
42
43TARGET_CC_ARCH += "${LDFLAGS}"
44
45FILES_${PN}-dbg += " \
46 ${LTPROOT}/.debug \
47 ${LTPROOT}/bin/.debug \
48 ${LTPROOT}/runtest/.debug \
49 ${LTPROOT}/testcases/bin/.debug \
50 ${LTPROOT}/testcases/bin/*/bin/.debug \
51 ${LTPROOT}/testcases/bin/*/test/.debug \
52 ${LTPROOT}/testcases/bin/ddt/.debug \
53 ${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
54 ${LTPROOT}/testcases/bin/ddt/*/test/.debug \
55 ${LTPROOT}/testcases/realtime/*/*/.debug \
56"
57
58FILES_${PN}-staticdev += "${LTPROOT}/lib"
59FILES_${PN} += "${LTPROOT}/*"
60
61KERNEL_MODULES_META_PACKAGE = "${PN}"
62
63kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
64
65# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
66# we explicitly force regeneration of that directory and pass configure options.
67do_configure_append() {
68 (cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
69}
70
71# The makefiles make excessive use of make -C and several include testcases.mk
72# which triggers a build of the syscall header. To reproduce, build ltp,
73# then delete the header, then "make -j XX" and watch regen.sh run multiple
74# times. Its easier to generate this once here instead.
75do_compile_prepend () {
76 ( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
77}
78
79do_compile_append () {
80 unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
81 oe_runmake modules
82}
83
84do_install() {
85 oe_runmake install
86 install -d ${D}${datadir}
87 install -d ${D}${kmoddir}
88 mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
89}
90
91# do_make_scripts should be a separate task for the lock to work
92addtask make_scripts before do_compile
93do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
94do_make_scripts[deptask] = "do_populate_sysroot"
95
96# http://errors.yoctoproject.org/Errors/Details/56327/
97PNBLACKLIST[ltp-ddt] ?= "BROKEN: fails since last autotools.bbclass changes - the recipe will be removed on 2017-09-01 unless the issue is fixed"