2012-02-06 14:49:14 +00:00
|
|
|
LICENSE = "GPLv2"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
2014-05-01 12:20:06 +00:00
|
|
|
SRCREV = "8f0fcd995f7f650a2ee0a94539f90c99e6d19e1d"
|
systemtap_git: update to newer version to fix a build issue
This build issue was observed with the 2.4+git version of the systemtap.
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In function 'void validate_module_elf(Dwfl_Module*, const char*, base_query*)':
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:1998:10: error: 'EM_AARCH64' was not declared in this scope
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx: In constructor 'sdt_uprobe_var_expanding_visitor::sdt_uprobe_var_expanding_visitor(systemtap_session&, int, const string&, const string&, const string&, stap_sdt_probe_type, const string&, int)':
.../x86_64-linux/systemtap-native/2.4+gitAUTOINC+9190b3acfe-r0/git/tapsets.cxx:5613:31: error: 'EM_AARCH64' was not declared in this scope
This is a known issue, and it is already fixed in the upstream tree.
Updating the recipe to get the commit which fixes the issue.
(From OE-Core rev: 5170f58f4a46edead40d98f302ba3294e078c113)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-14 18:18:08 +00:00
|
|
|
PV = "2.5+git${SRCPV}"
|
2012-02-06 14:49:14 +00:00
|
|
|
|
2013-08-30 01:56:36 +00:00
|
|
|
SRC_URI = "git://sourceware.org/git/systemtap.git \
|
2012-04-13 19:56:02 +00:00
|
|
|
file://docproc-build-fix.patch \
|
2013-02-11 04:01:36 +00:00
|
|
|
file://obsolete_automake_macros.patch \
|
2012-04-13 19:56:02 +00:00
|
|
|
"
|
2012-02-06 14:49:14 +00:00
|
|
|
|
|
|
|
# systemtap doesn't support mips
|
2014-02-05 15:10:14 +00:00
|
|
|
COMPATIBLE_HOST = '(x86_64|i.86|powerpc|arm|aarch64).*-linux'
|
2012-02-06 14:49:14 +00:00
|
|
|
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
2013-06-24 14:44:56 +00:00
|
|
|
# systemtap can't be built without optimization, if someone tries to compile an
|
|
|
|
# entire image as -O0, we override it with -O2 here and give a note about it.
|
|
|
|
def get_optimization(d):
|
|
|
|
selected_optimization = d.getVar("SELECTED_OPTIMIZATION", True)
|
2014-04-24 18:59:20 +00:00
|
|
|
if bb.utils.contains("SELECTED_OPTIMIZATION", "-O0", "x", "", d) == "x":
|
2013-06-24 14:44:56 +00:00
|
|
|
bb.note("systemtap can't be built with -O0, -O2 will be used instead.")
|
|
|
|
return selected_optimization.replace("-O0", "-O2")
|
|
|
|
return selected_optimization
|
|
|
|
|
|
|
|
SELECTED_OPTIMIZATION := "${@get_optimization(d)}"
|