From: Ross Burton Date: Thu, 24 Mar 2016 15:43:48 +0000 (+0000) Subject: uninative: don't try to relocate static binaries X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~26397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a1803e64174825d9392094ae6e680a1ac96eb4a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git uninative: don't try to relocate static binaries patchelf will understandably error out if there isn't a .interp section to relocate, so don't try to relocate static binaries. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index b045a2818be..07987177143 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass @@ -127,6 +127,8 @@ python uninative_changeinterp () { elf.open() except oe.qa.NotELFFileError: continue + if not elf.isDynamic(): + continue try: subprocess.check_output(("patchelf-uninative", "--set-interpreter",