meta-starlingx/meta-stx-integ/recipes-rt/rt-tests/rt-tests_%.bbappend
Jackie Huang aed3a323e2 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>
2020-06-13 16:29:46 -07:00

14 lines
298 B
Plaintext

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"