mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
cdb428e7c4
* based on discussion in pndeprecated thread: https://patchwork.openembedded.org/patch/137573/ update the messages to warn possible users that the recipe will be removed before the end of the next development cycle (before Yocto 2.4 is released). * updated with: sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs` * then noticed couple recipes being blacklisted only based on DISTRO_FEATURES, so removed those: meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb meta-oe/recipes-navigation/gypsy/gypsy.inc meta-oe/recipes-navigation/navit/navit.inc meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb * if it isn't fixed by this date, it's fair game to be removed whenever someone gets around to i Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
98 lines
3.0 KiB
BlitzBasic
98 lines
3.0 KiB
BlitzBasic
SUMMARY = "Embedded Linux Device Driver Tests based on Linux Test Project"
|
|
HOMEPAGE = "http://arago-project.org/git/projects/test-automation/ltp-ddt.git"
|
|
SECTION = "console/utils"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
|
|
|
|
PROVIDES += "ltp"
|
|
DEPENDS += "zip-native virtual/kernel alsa-lib"
|
|
|
|
RDEPENDS_${PN} += "pm-qa serialcheck"
|
|
|
|
inherit autotools module-base kernel-module-split
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
SRCREV = "f086bed6cc88bf102eaad0e96cb7ebe79944a8ad"
|
|
BRANCH ?= "master"
|
|
|
|
SRC_URI = "git://arago-project.org/git/projects/test-automation/ltp-ddt.git;branch=${BRANCH} \
|
|
file://ltp-Do-not-link-against-libfl.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
LTPROOT = "/opt/ltp"
|
|
|
|
EXTRA_OEMAKE_append = " \
|
|
prefix=${LTPROOT} \
|
|
CROSS_COMPILE=${HOST_PREFIX} \
|
|
SKIP_IDCHECK=1 \
|
|
KERNEL_PATH=${STAGING_KERNEL_DIR} \
|
|
KERNEL_INC=${STAGING_KERNEL_DIR} \
|
|
KERNEL_USR_INC=${STAGING_INCDIR} \
|
|
ALSA_INCPATH=${STAGING_INCDIR} \
|
|
ALSA_LIBPATH=${STAGING_LIBDIR} \
|
|
PLATFORM=${MACHINE} \
|
|
RANLIB=${RANLIB} \
|
|
DESTDIR=${D} \
|
|
CC='${CC}' \
|
|
KERNEL_CC='${KERNEL_CC}' \
|
|
"
|
|
|
|
TARGET_CC_ARCH += "${LDFLAGS}"
|
|
|
|
FILES_${PN}-dbg += " \
|
|
${LTPROOT}/.debug \
|
|
${LTPROOT}/bin/.debug \
|
|
${LTPROOT}/runtest/.debug \
|
|
${LTPROOT}/testcases/bin/.debug \
|
|
${LTPROOT}/testcases/bin/*/bin/.debug \
|
|
${LTPROOT}/testcases/bin/*/test/.debug \
|
|
${LTPROOT}/testcases/bin/ddt/.debug \
|
|
${LTPROOT}/testcases/bin/ddt/*/bin/.debug \
|
|
${LTPROOT}/testcases/bin/ddt/*/test/.debug \
|
|
${LTPROOT}/testcases/realtime/*/*/.debug \
|
|
"
|
|
|
|
FILES_${PN}-staticdev += "${LTPROOT}/lib"
|
|
FILES_${PN} += "${LTPROOT}/*"
|
|
|
|
KERNEL_MODULES_META_PACKAGE = "${PN}"
|
|
|
|
kmoddir = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/ddt"
|
|
|
|
# ltp doesn't regenerate ffsb-6.0-rc2 configure and hardcode configure call.
|
|
# we explicitly force regeneration of that directory and pass configure options.
|
|
do_configure_append() {
|
|
(cd utils/ffsb-6.0-rc2; autoreconf -fvi; ./configure ${CONFIGUREOPTS})
|
|
}
|
|
|
|
# The makefiles make excessive use of make -C and several include testcases.mk
|
|
# which triggers a build of the syscall header. To reproduce, build ltp,
|
|
# then delete the header, then "make -j XX" and watch regen.sh run multiple
|
|
# times. Its easier to generate this once here instead.
|
|
do_compile_prepend () {
|
|
( make -C ${B}/testcases/kernel include/linux_syscall_numbers.h )
|
|
}
|
|
|
|
do_compile_append () {
|
|
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
|
|
oe_runmake modules
|
|
}
|
|
|
|
do_install() {
|
|
oe_runmake install
|
|
install -d ${D}${datadir}
|
|
install -d ${D}${kmoddir}
|
|
mv ${D}${LTPROOT}/testcases/bin/ddt/*.ko ${D}${kmoddir}
|
|
}
|
|
|
|
# do_make_scripts should be a separate task for the lock to work
|
|
addtask make_scripts before do_compile
|
|
do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock"
|
|
do_make_scripts[deptask] = "do_populate_sysroot"
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/56327/
|
|
PNBLACKLIST[ltp-ddt] ?= "BROKEN: fails since last autotools.bbclass changes - the recipe will be removed on 2017-09-01 unless the issue is fixed"
|