mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
openhpi: control snmp-bc ptest generation
Do not try to compile ptests for snmp-bc if it is not in PACKGECONFIG. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -83,6 +83,21 @@ do_install_append () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_compile_ptest () {
|
do_compile_ptest () {
|
||||||
|
for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do
|
||||||
|
dir=`dirname ${x}`
|
||||||
|
case $dir in
|
||||||
|
*cpp/t) ;;
|
||||||
|
*snmp_bc/t) if ${@bb.utils.contains('PACKAGECONFIG','snmp-bc','true','false',d)}
|
||||||
|
then
|
||||||
|
oe_runmake -C ${dir} buildtest-TESTS
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*) oe_runmake -C ${dir} buildtest-TESTS ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
ack_do_compile_ptest () {
|
||||||
for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do
|
for x in `find ${B} -name Makefile -exec grep -l buildtest-TESTS {} \;`; do
|
||||||
dir=`dirname ${x}`
|
dir=`dirname ${x}`
|
||||||
upper=`dirname ${dir}`
|
upper=`dirname ${dir}`
|
||||||
|
|||||||
Reference in New Issue
Block a user