rt-tests: add numa support for the affinity option
- Add a PACKAGECONFIG for numa support and enable it by default - A python tool 'hwlatdetect' will be added if numa is enabled, so add dependency on python. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
parent
a0d24c4ba8
commit
aed3a323e2
13
meta-stx-integ/recipes-rt/rt-tests/rt-tests_%.bbappend
Normal file
13
meta-stx-integ/recipes-rt/rt-tests/rt-tests_%.bbappend
Normal file
@ -0,0 +1,13 @@
|
||||
PACKAGECONFIG ?= "numa"
|
||||
PACKAGECONFIG[numa] = ",,numactl,numactl"
|
||||
|
||||
EXTRA_OEMAKE = "\
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'numa', 'NUMA=1', 'NUMA=0', d)} \
|
||||
PYLIB=${libdir}/python2.7/site-packages \
|
||||
"
|
||||
|
||||
FILES_${PN} += "\
|
||||
${libdir}/python2.7/site-packages \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN} += "python"
|
Loading…
Reference in New Issue
Block a user