diff options
author | Ting Liu <ting.liu@freescale.com> | 2015-10-21 17:47:08 +0800 |
---|---|---|
committer | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-10-23 14:40:35 +0100 |
commit | 91ca81244e683c4f24752c59ec3342cd4fb1315d (patch) | |
tree | 18f108bc963220ea315855cb358c43a2dc265b33 /meta/recipes-support | |
parent | 92da534cefb5937c69553dbe599b664dc73292f3 (diff) | |
download | openembedded-core-contrib-91ca81244e683c4f24752c59ec3342cd4fb1315d.tar.gz |
oprofile: update --with-kernel option to find perf_event.h
Update --with-kernel=${STAGING_DIR_HOST}/${prefix} to find kernel
headers (linux/*.h) to fix the error:
| checking kernel supports perf_events... unknown -- perf_event.h not found
| ERROR: You requested to build oprofile with '--with-kernel=/buildarea/lyang1/test_f2/tmp/work-shared/qemux86/kernel-source',
| but headers were not accessible at the given location.
| Be sure you have run the following command from within your kernel source tree:
| make headers_install INSTALL_HDR_PATH=<kernel-hdrs-install-dir>
| Then pass <kernel-hdrs-install-dir> to oprofile's '--with-kernel' configure option.
| configure: error: Unable to build oprofile. Exiting.
This is part of the commit b5b3085d9d6a351a1de86f95d5c8ba28dbfbddbb which
already applied in poky master branch.
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Diffstat (limited to 'meta/recipes-support')
0 files changed, 0 insertions, 0 deletions