mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
0749b8fccc
commit
b518e00692
|
|
@ -83,6 +83,21 @@ do_install_append () {
|
|||
}
|
||||
|
||||
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
|
||||
dir=`dirname ${x}`
|
||||
upper=`dirname ${dir}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user